fertkir.tg_torrent_bot_transmission

Ansible Role: tg_torrent_bot_transmission

WARNING: This role is no longer maintained. Please use this collection instead.

This role connects the Telegram Torrent Bot with the Transmission bittorrent client.

With this setup, you can search for torrents and download them to your server using Telegram on your phone.

Requirements

  • systemd

Role Variables

You can change the following variables stored in the defaults/main.yml file and in the table below.

Name Default Value Description
telegram_token The token for your Telegram bot, available from @BotFather
rutracker_host https://rutracker.org Change this to your own rutracker mirror if needed.
rutracker_username Your username for rutracker.org
rutracker_password Your password for rutracker.org
allowed_users "" A list of users the bot will respond to, separated by commas. If empty, it will respond to anyone.
proxy_telegram false Set to true if the bot should use a proxy for Telegram.
proxy_rutracker false Set to true if the bot should use a proxy for rutracker.org.
proxy_protocol http Choose from: http, https, or socks5.
proxy_host 127.0.0.1 The host address for your proxy.
proxy_port 8080 The port number for your proxy.
proxy_username "" Your proxy username.
proxy_password "" Your proxy password.
transmission_settings {} Custom settings in JSON format for Transmission's settings.json.

Example Playbook

Replace <your_telegram_token_here>, <rutracker_username>, and <rutracker_password> with your actual Telegram bot token and rutracker.org credentials.

- hosts: all
  roles:
    - role: fertkir.tg_torrent_bot_transmission
      vars:
        telegram_token: <your_telegram_token_here>
        rutracker_username: <rutracker_username>
        rutracker_password: <rutracker_password>
        transmission_settings: { 'rpc-whitelist-enabled': false, 'rpc-authentication-required': false }

License

This project is licensed under the GNU General Public License v3.0. For more details, see LICENSE.

Informazioni sul progetto

Telegram Torrent Bot integrated with Transmission bittorrent client

Installa
ansible-galaxy install fertkir.tg_torrent_bot_transmission
Licenza
gpl-3.0
Download
71
Proprietario