Files
ncdownloader/README.md
2022-05-20 16:15:35 +08:00

39 lines
1.9 KiB
Markdown

- [English](README.md)
- [简体中文](README.zh-CN.md)
An easy-to-use web interface for Aria2 and youtube-dl
- Search for torrents within the app from mutiple BT sites
- Control Aria2 and manage download tasks from the web;
- Harnessing the power of youtube-dl to download videos from 700+ video sites(youtube,youku,dailymotion,twitter,facebook and the likes;
<img width="800" alt="nc2" src="https://user-images.githubusercontent.com/3911975/132008308-dec2a7ba-4387-441e-9ded-538d61fbccf0.png">
<img width="800" alt="nc4" src="https://user-images.githubusercontent.com/3911975/142444998-54dd54a6-0c8e-4d49-8188-270964a99c50.png">
<img width="800" alt="nc5" src="https://user-images.githubusercontent.com/3911975/142445020-27ec389a-5437-4d28-acc0-5e757fd6897d.png">
### How to use
NCDownloader has included both yt-dlp(faster version of youtube-dl) and aria2c and there is no need for manual installation under normal circumstances (*tested it successfully with snap version of nextcloud both in centos7 and ubuntu 20.04*)
But if for some reason,the builtin binaries don't work for you, then you will need to install them yourself
#### installing aria2 and yt-dlp in ubuntu
```bash
sudo apt install aria2
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/download/2022.05.18/yt-dlp 4 -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
```
Also, if you don't want to use the builtin versions, you can always force the app use a specific version by setting the binary path manually. In that case, the app will not try to find youtube-dl binary in your system, and the built-in ones will be ignored as well.
### How to build front-end code
NPM 7.0+ and node 14.0.0+ are required to build front-end scripts
```bash
#start to build
npm run build
#installing php dependencies
composer install
```
#### Nextcloud App homepage
https://apps.nextcloud.com/apps/ncdownloader