diff --git a/README.md b/README.md index 1417b04..1b1e7c6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +- [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 @@ -7,7 +10,21 @@ An easy-to-use web interface for Aria2 and youtube-dl nc4 nc5 -#### How to build front-end code +### How to use + +the latest version has included both youtube-dl and aria2c and there is no need for manual installation (*tested it successfully with snap version of nextcloud both in centos7 and ubuntu 20.04*) +if for some reason,the builtin binaries don't work for you, then you will need to install them yourself + +#### installing aria2 and youtube-dl in ubuntu +```bash +sudo apt install aria2 +sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl 4 -o /usr/local/bin/youtube-dl +sudo chmod a+rx /usr/local/bin/youtube-dl +``` +local versions will be chosen over the builtin ones. +But you can force the app use a specific version by setting the binary path manually. When the binary is valid, it has the highest priority and all other versions will be ignored + +### How to build front-end code NPM 7.0+ and node 14.0.0+ are required to build front-end scripts diff --git a/README.zh-CN.md b/README.zh-CN.md new file mode 100644 index 0000000..7a83f4e --- /dev/null +++ b/README.zh-CN.md @@ -0,0 +1,37 @@ +- [English](README.md) +- [简体中文](README.zh-CN.md) + +运行在nextcloud下的多功能下载工具(Aria2 and youtube-dl) + +- 内置种子搜索工具,可以多个网站搜索,直接APP内下载 +- 无需手动配置Aria2,支持web界面配置和开启 +- 利用youtube-dl的强大功能,可从数百个网站下载音视频文件 +nc2 +nc4 +nc5 + +### 如何使用 + +最新版本已经自带aria2c和youtube-dl程序 (*在centos7 and ubuntu 20.04上测试过nextcloud的snap版本,可正常运行*) +但如果自带的程序无法在你的系统正常运行,那你就得自己安装youtube-dl和aria2c了 +#### 在ubuntu下安装aria2 and youtube-dl +```bash +sudo apt install aria2 +sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl 4 -o /usr/local/bin/youtube-dl +sudo chmod a+rx /usr/local/bin/youtube-dl +``` +本地安装的版本优先于自带的版本 +但是你可以通过在app内设置,强制使用特定版本的aria2或youtube-dl + +#### 生成前端代码 +需要安装NPM 7.0+ and node 14.0.0+ +```bash +#start to build +npm run build + +#installing php dependencies +composer install +``` + +#### Nextcloud App homepage +https://apps.nextcloud.com/apps/ncdownloader \ No newline at end of file