Dhruv-Tara / Auto-Anime-Bot

An Auto anime uploader bot written in Python. With mongo as its DataBase.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto Anime Bot

Auto Anime Bot
Auto Anime Bot is a Telegram bot designed to automatically upload anime files to a Telegram channel and provide users with access to these files. It supports multiple file resolutions, including 480p, 720p, and 1080p. Additionally, the bot has the capability to encode 720p files.

You can see the channel which is used by main production bot. | Upload Channel

Features

  • Automatic upload of anime files to a Telegram channel.
  • Support for multiple file resolutions: 480p, 720p, and 1080p.
  • Encoding of 720p files.
  • User-friendly interface for accessing uploaded files from Bot.

Requirements

  • Powerful VPS (Virtual Private Server)
  • Anime files in the specified resolutions

Setup

  1. Clone the Repository:

    git clone https://github.com/Dhruv-Tara/Auto-Anime-Bot && cd Auto-Anime-Bot
  2. Install Dependencies:

    • Remeber to Run the setup in sudo environment.
    bash setup.sh
  3. Configure Bot:

    • Create a Telegram bot and obtain the API token.
    • Before running the bot, ensure that you fill in the necessary configuration details in the config.json file. Here's an example configuration:
{
    "Author" : "Yash-Kun",
    "Licensed_under" : "GNU GPL V-3.0",
    "owner" : ["Replace with ID of sudos."],
    "database_url" : "Your Mongo",
    "main_channel" : "Id or channel username",
    "thumbnail_url" : "AAB/utils/thumb.jpeg",
    "files_channel" : -100,
    "production_chat" : -100,
    "api_id" : 123456,
    "api_hash" : "Api Hash",
    "main_bot" : "Main Bot for file transfer",
    "client_bot" : "Client Bot for upload"
}
  1. Run the Bot:

    python3.11 -m AAB

    or

    bash start.sh
  2. Accessing Files:

    • Users can access the uploaded files directly from the Telegram bot.

Notes

  • Ensure that your VPS has sufficient resources to handle encoding and file uploads.
  • Customize the bot behavior as needed by modifying the source code.
  • Feel free to contribute to the project by submitting issues or pull requests.

Contributors

Dhruv-Tara Dhruv-Tara
illuminati-Dev illuminati-Dev
--- ---
Qewertyy Qewertyy

Support and Contribution

For any issues or feature requests, please open an issue on the GitHub repository. Contributions are welcome!

License

This project is licensed under the GNU General Public License v3.0.

About

An Auto anime uploader bot written in Python. With mongo as its DataBase.

License:GNU General Public License v3.0


Languages

Language:Python 96.3%Language:Shell 3.1%Language:Dockerfile 0.6%