https://github.com/burhanverse/pixeldrain-bot
A Telegram media to PixelDrain upload bot, providing a seamless integration for file sharing.
https://github.com/burhanverse/pixeldrain-bot
pixeldrain pyrogram-bot telegram-bot
Last synced: 7 months ago
JSON representation
A Telegram media to PixelDrain upload bot, providing a seamless integration for file sharing.
- Host: GitHub
- URL: https://github.com/burhanverse/pixeldrain-bot
- Owner: Burhanverse
- License: mit
- Created: 2024-07-04T07:34:49.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-10-16T19:10:57.000Z (8 months ago)
- Last Synced: 2024-10-18T17:37:52.257Z (8 months ago)
- Topics: pixeldrain, pyrogram-bot, telegram-bot
- Language: Python
- Homepage:
- Size: 61.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
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:
* [x] Introduce MongoDB for managing auth_users.
* [x] User Authorization Support.
* [x] Support Pixeldrain API.
* [x] Support multiple files upload in one go.
* [x] No cooldown timer.
* [x] Add support for group chats.
* [ ] Add support for links mirror.---
## Requirements & Variables:
- `API_HASH` Your API Hash from [Telegram](https://my.telegram.org)
- `API_ID` Your API ID from [Telegram](https://my.telegram.org)
- `BOT_TOKEN` Your bot token from @BotFather
- `MONGODB_URI` Your [MongoDB](https://telegra.ph/How-To-get-Mongodb-URI-04-06) URI
- `OWNER_ID` Telegram user ID of the Owner
- `PIXELDRAIN_API_KEY` Your [Pixeldrain](https://pixeldrain.com) API KEY##### Note: Make the required changes in `.env` file.
---
## Deployment:
- Clone the Repository:
```sh
git clone https://github.com/Burhanverse/Pixeldrain-Bot.git
cd Pixeldrain-Bot
```
- Setup Virtual Environment:
```sh
python -m venv venv
. ./venv/bin/activate
```
- Install Dependencies:
```sh
pip install -r requirements.txt
```
- Run the Bot:
```sh
#
python bot.py
```---
## Credits:
- [Pixeldrain API](https://pixeldrain.com/api)
- [Pyrogram](https://pyrogram.org)
- [MongoDB](https://mongodb.com)---