a2tm/README.md

59 lines
1.4 KiB
Markdown
Raw Normal View History

2022-07-02 17:51:25 +02:00
a2tm - aria2 Tool Manager
=========================
a2tm is a python script to manage torrent/magnet/URL downloads more easily using a configuration file.
## Requirements:
- `Python 3.5+`
- `aria2`
### Installation:
* Open the terminal and type the following comands:
```shell
2022-07-02 18:03:57 +02:00
$ git clone https://github.com/q3aql/a2tm
2022-07-02 17:51:25 +02:00
$ cd a2tm
$ chmod +x install.sh
$ sudo ./install.sh
````
* After running the script, you will see the following:
```shell
# a2tm installer 0.1 (010722) (GPL v2.0)
+ Copied executable (/usr/bin/a2tm).
+ Configuring execution permissions (/usr/bin/a2tm).
+ Created service (/etc/systemd/system/a2tm.service).
+ INFO: Edit /etc/systemd/system/a2tm.service and change
the variable User=<USER>.
+ Installation completed.
````
### Configuration File:
* Linux/Unix: `${HOME}/.aria2/a2tm.conf`
* Windows: `%USERPROFILE%\.aria2\a2tm.conf`
* MacOS: `${HOME}/.aria2/a2tm.conf`
### How to use:
```shell
a2tm
````
<img src="img/a2tm.png" />
## Run as service:
* SysV Init: `/etc/init.d/a2tm {start|stop|restart|status}`
* SystemD: `systemctl {start|stop|status} a2tm`
### External links:
* [Python homepage](https://www.python.org/)
* [aria2 homepage](https://aria2.github.io/)
* [aria2 static builds](https://github.com/q3aql/aria2-static-builds)