shiningw / ncdownloader

An easy-to-use web interface for Aria2 and Youtube-dl (downloading bittorrents, videos from twitter, youtube and the likes)运行在nextcloud下的多功能下载工具(Aria2 and youtube-dl)
GNU Affero General Public License v3.0
96 stars 29 forks source link
bittorrent nextcloud video youtube

An easy-to-use web interface for Aria2 and youtube-dl

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

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

#start to build
npm run build

#installing php dependencies
composer install

Nextcloud App homepage

https://apps.nextcloud.com/apps/ncdownloader