Sign inSign up

jhovanylinkin/telegram_bot

By jhovanylinkin

•Updated almost 5 years ago

telegram bot for download torrents 😉

Image
0

1.1K

jhovanylinkin/telegram_bot repository overview

⁠TransmissionTelegramBot. Fork from rishis07 pelade_transmission_bot⁠ only add more features

⁠Quick implementation of the Python Transmission lib

⁠Tests:

You can tests the Transmission broker by doing python broker.py and It should queue ubuntu-8.10-desktop-i386.iso torrent. Legal use only right? right :P
Run bot with python transmission_bot/telegram_bot.py

⁠Usage:

    /help - display this help
    /list - retrieve list of current torrents and their statuses
    /free_space - retrieve free device space
    /add <URI> - add torrent and start download
    /delete <ID> - delete torrent and downloaded data

⁠Docker compose example

version: '3.6'

  services: 
    transmission:
      image: lscr.io/linuxserver/transmission
      container_name: transmission
      environment:
        - PUID=1000
        - PGID=1000
        - TZ=America/Mexico_City
        - TRANSMISSION_WEB_HOME=/combustion-release/ #optional
        - USER=admin #optional
        - PASS=admin #optional
        # - WHITELIST=iplist #optional
        - HOST_WHITELIST=dnsnane list #optional
      volumes:
        - ./config:/config:Z
        - /torrents:/downloads:Z
        - ./watch:/watch:Z
      ports:
        - 9091:9091
        - 51413:51413
        - 51413:51413/udp
      restart: unless-stopped

  telegrambot:
    image: jhovanylinkin/telegram_bot:1.0.0
    depends_on:
      - transmission
    restart: unless-stopped
    command: python /code/transmission_bot/telegram_bot.py
    environment:
      - ADDRESS=transmission
      - PORT=9091
      - TS_USER=admin
      - PASSWORD=admin
      - TOKEN=
      - PERSISTENCE_FILE=/var/lib/transmission-telegram/authorized_chats

Tag summary

Content type

Image

Digest

Size

23.1 MB

Last updated

almost 5 years ago

docker pull jhovanylinkin/telegram_bot