Skip to content
/ drawa Public

Stupid simple Download Manager & GUI for aria2 with built-in Chomikuj.pl support

Notifications You must be signed in to change notification settings

plintx/drawa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drawa

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.

Installing

Clone this repo and run:

python setup.py install

Or install by pip:

pip install drawa

Configuring

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

Configuring Aria2

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

Starting Drawa

If Drawa is configured you can run drawa command and go to: http://localhost:5001

Running as daemon

Drawa can also start as daemon. Package provides systemd script for Drawa.

  1. Edit Aria2 configuration file in /etc/drawa/aria2.conf
  2. Edit Drawa configuration file in /etc/drawa/drawa.conf
  3. 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

Screenshot

About

Stupid simple Download Manager & GUI for aria2 with built-in Chomikuj.pl support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published