Skip to content

A Telegram media to PixelDrain upload bot, providing a seamless integration for file sharing.

License

Notifications You must be signed in to change notification settings

Burhanverse/Pixeldrain-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixeldrain Bot

This project is designed to facilitate easy media uploads from Telegram to PixelDrain, providing a seamless integration for file sharing.

Bot Commands:

  • /start This is generic like any other bot.
  • /auth Used to authorise a user and can be used in private mode only. [Owner CMD]
  • /unauth Used to revoke authorisation. [Owner CMD]
  • /auths Used to get the the authorised user list. [Owner CMD]
  • /pdup Used 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.
  • Add support for links mirror.

Requirements & Variables:

  • API_HASH Your API Hash from Telegram
  • API_ID Your API ID from Telegram
  • BOT_TOKEN Your bot token from @BotFather
  • MONGODB_URI Your MongoDB URI
  • OWNER_ID Telegram user ID of the Owner
  • PIXELDRAIN_API_KEY Your 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:
# <Setup the .env Variables appropriately first>
python bot.py

Credits:


About

A Telegram media to PixelDrain upload bot, providing a seamless integration for file sharing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published