View on GitHub

Putio-Telegram-Bot

Simple bot to download torrents/other sites and get direct links using put.io account

Put.io Telegram Bot

This Telegram bot enables seamless torrent downloads and other youtubeDL supported sites by integrating with the put.io website service. With this bot, you can easily start downloading files/torrents and get their download links after completed downloading within the Telegram messaging platform.

Features

Requirements

To use this bot, you need the following:

Getting Started

To get started with the Telegram bot for downloads and put.io integration, follow these steps:

  1. Create a Telegram Bot:

    • Visit the BotFather on Telegram and create a new bot.
    • Obtain the bot token provided by the BotFather.
  2. Set Up the Bot:

    • Clone this repository to your local machine.
    • Create a virtual environment ‘env’ using the command python3 -m venv env
    • Active the environment by source env/bin/activate
    • Install the necessary dependencies by running pip install -r requirements
    • Create .env file and set the following variables:

      • BOT_TOKEN: Bot token obtained from the BotFather.
      • USER_TOKEN: Put.io API token. You can obtain it from the put.io website.
    • Save the .env file.
  3. Deploy the Bot:

    • Choose a hosting platform or server to deploy the bot (e.g., Heroku, AWS, DigitalOcean).
    • Configure the deployment environment according to the requirements of your chosen platform.
    • Deploy the bot code to the server.
  4. Start the Bot:

    • Run the bot application on your deployed server.
    • The bot should now be online and ready to process commands.
  5. Interact with the Bot:

    • Open the Telegram app and search for the bot using its username.
    • Start a chat with the bot and begin sending commands to add the torrents/downloads and get their direct download links

Usage

Screenshots

Alt text

Alt text

Contributing

Contributions to this project are welcome! If you encounter any issues or have ideas for improvements, feel free to open an issue or submit a pull request. Make sure to adhere to the project’s code style and guidelines.

License

This project is licensed under the MIT License.

Acknowledgements

This Telegram bot for torrent/file downloads is built on the put.io API, and it wouldn’t have been possible without the following contributions: