Transmission telegram bot

Telegram bot as a transmission interface.
Features
- Add torrent by file / magnet link
- Get short info about status
- Start / Stop torrents
- Change torrent priority
- Remove torrent
- Message when torrent done
- Can get image of the torrent from rutracker if used torrent file
- Search torrent by name with prefix t: i.e t:Ubuntu
Config:
{
"token":"TELEGRAM_TOKEN",
"debug": false,
"transmission": {
"uri": "http://IP||HOSTNAME:PORT/transmission/rpc",
"user": "USER",
"password": "PASSWORD"
},
"img_dir": "/app/img",
"default_download_dir": "/mnt/downloads",
"categories": {
"Films": "/Films",
"TVSeries": "/TVSeries",
"TVAnime": "/TVAnime",
"Soft": "/Soft",
"Education": "/Education"
}
}
Docker
ImgDir can't be /tmp
.
Create the config.json described above and run:
docker run -v "$PWD/path/to/config.json":/config.json zlodey23/transmission-bot
Ansible
Ansible role with this bot:
https://github.com/0x0BSoD/ansible/tree/master/transmission
Check the vars/main.yml and defaults/main.yml dirs.
Default vars:
user: root
rpc_user: user
rpc_password: pass123