Skip to content

Bash script to auto-install Aria2 + AriaNg + File Browser + Caddy v2

License

Notifications You must be signed in to change notification settings

earlSagrada/action-aria2-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ACTION Aria2 Script 🚀

This bash script is for auto-installation of the latest official version of Aria2 + AriaNg + File Browser + Caddy v2.

The bundle uses Caddy v2 as web server. The configuration file is preseted in the script and is best for bt-download and online watching. With File Browser, this can be also used as a cloud storage, depending the quality of your VPS.

All the resources of installation are from official links, providing the newest function support.

README in other languages

Usage

First, you MUST add a subdomain named file to your domain name and make sure you can ping it.

Use this line of command to execute the script:

bash <(curl -Lk https://raw.githubusercontent.com/earlSagrada/action-aria2-script/master/install.sh)

You'll be asked to entre:

  • your domain name and
  • rpc-secret token

System Requirements

NOTE: This is a newly developed script especially for Ubuntu 20.10 x64 VPS machine. Further adaptation will be added for other environment and usage scenario.

Features

  • This script assumes you have a VPS and a domain name pointing to the IP address of the VPS. The script will ask for the domain name and write into ~/mysite/Caddyfile. Caddy will then automatically get a certification and a key for you, which will be stored in $HOME/.local/share/caddy/certificates/. The .crt and .key will be searched and filled into /etc/aria2/aria2.conf, which will enable you to access aria2 through HTTPS.

  • The latest File Browser version is v2.21.1, which is capable of playing mp4 video online and auto-detect and use .vtt subtitle in the same folder.

Notes

  • In case you forget the File Browser usernamd or password, delete the database and then restart the service:
rm /etc/filebrowser/filebrowser.db
systemctl restart filebrowser.service

About

Bash script to auto-install Aria2 + AriaNg + File Browser + Caddy v2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages