🎯 A Telegram Bot to Store and Share Files with a Single Link
🧑💻 Developed by @Prime_Hritu
📢 Stay updated via our Developer Channel
✅ Store files securely in Telegram
✅ Get unique shareable links for each file
✅ Generate QR codes for easy sharing
✅ List and delete your stored files
✅ Simple configuration and deployment
✅ Admin broadcast and statistics panel
Set these environment variables to configure your bot (see config.py):
| Variable | Description |
|---|---|
BOT_TOKEN |
Bot Token from @BotFather |
API_ID |
API ID from my.telegram.org |
API_HASH |
API Hash from my.telegram.org |
MONGO_URI |
MongoDB connection URI |
DATABASE_NAME |
Name of the MongoDB database (default: "FileDrawerBot") |
STORAGE_CHANNEL_ID |
Telegram channel ID for storing files |
ADMIN_USER_IDS |
Comma-separated list of admin user IDs |
sudo apt update && sudo apt upgrade -y
sudo apt install python3 python3-pip git -y
git clone https://github.com/Private-Bots-Official/FileStoreBot
cd FileStoreBot
pip3 install -r requirements.txt
cp .env-example .env # Edit .env with your variables
python3 main.pyComing soon: Deploy to Heroku, Koyeb, or Render with one click!
- /start – Show welcome message or retrieve a file by UUID
- /list – List your stored files
- /delete
<FILE_UUID>– Delete a file you own - /help – Show help message
- Send any file – Store it and get a shareable link & QR code
- Admins:
- /stats – Show bot statistics
- /broad – Broadcast a message to all users
See requirements.txt for all dependencies.
This project is licensed under the MIT License.
