webui-aria2 README

The project's README from github.com/ziahamza/webui-aria2. As one markdown file: README.md.

WebUI-Aria2

Main interface

The aim for this project is to create the worlds best and hottest interface to interact with aria2. aria2 is the worlds best file downloader, but sometimes the command line brings more power than necessary. The project was initially created as part of the GSOC scheme, however it has rapidly grown and changed with tremendous support and feedback from the aria2 community.

Very simple to use, no build scripts, no installation scripts. First start aria2 in the background either in your local machine or in a remote one. You can do that as follows:

aria2c --enable-rpc --rpc-listen-all

If aria2 is not installed in your local machine then head on to https://aria2.github.io/ and follow the instructions there.

Then to use the WebUI-Aria2,

node node-server.js

Tips

  1. You can always select which files to download in case of torrents or metalinks. Just pause a download and a list icon should appear next to the settings button. To select which files to download before starting the download, give the flag --pause-metadata to aria2. See link

Configuration

Read and edit configuration.js.

DirectURL

This feature allows users to download files that they download from aria2 directly from the webui dashboard. If you are familiar with how webservers work, setup a http server that points at the configured aria2 download directory, check permissions. Then Specify a full url: http://server:port/ in the webui directURL configuration.

If the above is not obvious, keep reading what this is about in directurl.md

Dependencies

Well, you need aria2. And a web browser (if that even counts!)

Docker support

There is two Dockerfile in this project, one is a common Dockerfile, which can be use for testing purpose.
The second is a production ready Dockerfile for arm32v7 platforms (including Raspberry Pi).

For testing purpose

You can also try or use webui-aria2 in your LAN inside a Docker sandbox.

Build the image

sudo docker build -t yourname/webui-aria2 .

..and run it! It will be available at: http://localhost:9100

sudo docker run -v /Downloads:/data -p 6800:6800 -p 9100:8080 --name="webui-aria2" yourname/webui-aria2

/Downloads is the directory in the host where you want to keep the downloaded files

Production ready (ARM platform)

This image contains both aria2 and webui-aria2.

Build it (may take several hours due to the aria2 compilation process. Don't panic and grab a coffee).

docker build -f Dockerfile.arm32v7 -t yourname/webui-aria2 .

This command will ends up building three images:


Prepare the host volume: This image required few file to be mounted in the container. ``` /home/aria/aria2/session.txt (empty file) /home/aria/aria2/aria2.log (empty file) /home/aria/aria2/aria2.conf (aria2 configuration file, not webui-aria2 conf) must contains at least `enable-rpc=true` and `rpc-listen-all=true` /data/downloads/ (where the downloaded files goes) ```

Run it

docker run --restart=always \
        -v /home/<USER>/data/aria2/downloads:/data/downloads \
        -v /home/<USER>/data/aria2/.aria2:/home/aria/.aria2 \
        -p 6800:6800 -p 9100:8080 \
        --name="webui-aria2" \
        -d yourname/webui-aria2

Contributing

Checkout contributor's guide to know more about how to contribute to this project.

Deploy to Heroku

Deploy

Support

For any support, feature request and bug report add an issue in the github project. link

License

Refer to the LICENSE file (MIT License). If the more liberal license is needed then add it as an issue

webui-aria2 (ziahamza/webui-aria2)

Searching Database…

这是什么?一个基于浏览器的 aria2 图形控制面板。aria2 是命令行下载工具,有了它,你就可以在网页界面上管理下载任务,而不用去敲终端命令。
它是需要安装的程序,还是一个网页?它是纯前端项目:没有构建脚本,也没有安装脚本。你只要用任意浏览器打开 docs 文件夹里的 index.html 就行,aria2 则在后台单独运行。
怎么把它跑起来?先在本机或远程机器的后台启动 aria2,然后打开 docs 文件夹里的 index.html,或者访问在线托管版本,也可以用项目自带的 NodeJS 服务器来托管整个项目文件夹。
除了这个界面本身,我还需要安装什么?只需要单独安装的 aria2 和一个网页浏览器——依赖就这些。
哪一部分配置起来最麻烦?DirectURL 功能,它可以让你直接在控制面板里取回已下载完成的文件:你需要自己搭一个 HTTP 服务器来托管 aria2 的下载目录,并把它的地址填进 webui 配置里。
它能在哪些地方运行?任何网页浏览器里都能运行。另外还有 Docker 方案——一个供局域网使用的简易版本,以及面向 Raspberry Pi 这类 ARM 开发板的生产镜像——还支持一键部署到 Heroku。
没有网络连接还能用吗?可以。第一次打开这个网址之后,它就会像渐进式 Web 应用(PWA)一样工作,即使离线也能重新打开。
种子开始下载之前,我能挑选里面的个别文件吗?可以。暂停一个下载任务后,设置按钮旁边会出现一个列表图标,点它就能选择文件;如果想在下载开始前就选好,启动 aria2 时加上 --pause-metadata 参数即可。
试用之前需要下载什么吗?不需要——README 里给了一个在线托管版本,用任意浏览器打开就能直接上手。首次访问之后,它还能作为 PWA 离线继续使用。
为什么 README 自称是“世界上最好最火”的界面?这是作者本人定下的目标。该项目最初是一个 GSOC 项目,在 aria2 社区的大力支持和反馈下迅速成长起来。
Creator
ziahamza
Size
15.8 MB
Stars
10.4K
Updated
CommitSep 01
Age
14y
Commits · 90 Days