Drawa is a Download Manager & GUI for aria2 with built-in Chomikuj.pl support. It's written in Python 3.6 and can be extended by plugins.
Clone this repo and run:
python setup.py install
Or install by pip:
pip install drawa
Drawa is searching for configuration file: ~/.config/drawa/drawa.conf
Location may be also provided by --config argument, like:
drawa --config /etc/drawa/drawa.conf
Default configuration is always loaded, but it's overwritten by provided one.
# default.conf
[drawa]
username=
password=
hostname=0.0.0.0
port=5001
[chomikbox]
enabled=False
username=
password=
[aria2]
hostname=localhost
port=6800
secret=secret_token
config=$HOME/.aria2/aria2.conf # or e.g., /etc/drawa/aria2.conf
Because Drawa uses Aria2, it must by configured properly. Create configuration file in location provided in Drawa configuration. Do not forget to change download directory.
Example aria2.conf
# $HOME/.aria2/aria2.conf
continue
daemon=true
dir=/home/drawa/Downloads
file-allocation=falloc
log-level=warn
max-connection-per-server=4
max-concurrent-downloads=3
max-overall-download-limit=0
min-split-size=5M
enable-http-pipelining=true
If Drawa is configured you can run drawa command and go to: http://localhost:5001
Drawa can also start as daemon. Package provides systemd script for Drawa.
- Edit Aria2 configuration file in /etc/drawa/aria2.conf
- Edit Drawa configuration file in /etc/drawa/drawa.conf
- Create directory for download and grant access for user drawa
If you want to start service:
systemctl start drawa
If you want to check for errors:
systemctl start drawa