README.md
January 28, 2025 ยท View on GitHub
Pixeldrain Bot
This project is designed to facilitate easy media uploads from Telegram to PixelDrain, providing a seamless integration for file sharing.Bot Commands:
/startThis is generic like any other bot./authUsed to authorise a user and can be used in private mode only. [Owner CMD]/unauthUsed to revoke authorisation. [Owner CMD]/authsUsed to get the the authorised user list. [Owner CMD]/pdupUsed to upload files from a group chat by replying the file with it. [Available for authorised users only]
TO-Dos:
- Introduce MongoDB for managing
auth_users. - User Authorization Support.
- Support Pixeldrain API.
- Support multiple files upload in one go.
- No cooldown timer.
- Add support for group chats.
- Use
HTTPXfor handling large file uploads. - Add support for links mirror.
Requirements & Variables:
API_HASHYour API Hash from TelegramAPI_IDYour API ID from TelegramBOT_TOKENYour bot token from @BotFatherMONGODB_URIYour MongoDB URIOWNER_IDTelegram user ID of the OwnerPIXELDRAIN_API_KEYYour Pixeldrain API KEY
Note: Make the required changes in .env file.
Deployment:
- Clone the Repository:
git clone https://github.com/Burhanverse/Pixeldrain-Bot.git
cd Pixeldrain-Bot
- Setup Virtual Environment:
python -m venv venv
. ./venv/bin/activate
- Install Dependencies:
pip install -r requirements.txt
- Run the Bot:
python bot.py