Skip to content

yuanli-cn/tele-aria2

 
 

Repository files navigation

tele-aria2

⚠️:v2 is on the way, I'm rewriting the whole project with TypeScript, it will be a completely redesign, hopefully it will be finished before July 2020 😉.

A Telegram bot for controlling your aria2 server.

screenshot-overview

Setup

  1. Create your own bot and get its HTTP access token by using @BotFather.
  2. Add tele-aria2.telegran-token=__YOUR_BOT_TOKEN__ to aria2 config file.
  3. Get your unique user ID by using @get_id_bot.
  4. Add tele-aria2.telegran-id=__YOUR_UNIQUE_ID__ to aria2 config file(want multiple users? just use , to separate them).
  5. (Optional) For mainland China users, recommend to use tele-aria2.proxy for proxy support, e.g tele-aria2.proxy=socks5://127.0.0.1:6154/.
  6. $ git clone https://github.com/HouCoder/tele-aria2.git.
  7. $ pip install python-telegram-bot PySocks.
  8. $ python main.py -c __aria2_config_path__.

Supported Actions

Wanna add torrent task? just simply send the torrent file to your bot.

/add [uri]

Add a new download, it supports HTTP/FTP/SFTP/BitTorrent URI.

/remove [gid]

Remove download.

/pause [gid]

Pause download.

/pauseAll

Pause all downloads.

/unpause [gid]

Unpause download.

/unpauseAll

Unpause all downloads.

/tellActive

Return a list of active downloads.

/tellWaiting

Return a list of the latest 10 waiting downloads.

/tellStopped

Return a list of the latest 10 stopped downloads.

Discussion & feedback

If you have any question, feel free to discuss at our Telegram channel - tele-aria2.

About

A Telegram bot for controlling your aria2 server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%