A Telegram bot for controlling your aria2 server.
- Create your own bot and get its HTTP access token by using @BotFather.
- Add
tele-aria2.telegran-token=__YOUR_BOT_TOKEN__
to aria2 config file. - Get your unique user ID by using @get_id_bot.
- Add
tele-aria2.telegran-id=__YOUR_UNIQUE_ID__
to aria2 config file(want multiple users? just use,
to separate them). - (Optional) For mainland China users, recommend to use
tele-aria2.proxy
for proxy support, e.gtele-aria2.proxy=socks5://127.0.0.1:6154/
. $ git clone https://github.com/HouCoder/tele-aria2.git
.$ pip install python-telegram-bot PySocks
.$ python main.py -c __aria2_config_path__
.
Wanna add torrent task? just simply send the torrent file to your bot.
Add a new download, it supports HTTP/FTP/SFTP/BitTorrent URI.
Remove download.
Pause download.
Pause all downloads.
Unpause download.
Unpause all downloads.
Return a list of active downloads.
Return a list of the latest 10 waiting downloads.
Return a list of the latest 10 stopped downloads.
If you have any question, feel free to discuss at our Telegram channel - tele-aria2.