Skip to content

Latest commit

 

History

History
88 lines (61 loc) · 2.84 KB

File metadata and controls

88 lines (61 loc) · 2.84 KB

FileStoreBot Banner

🌟 Give it a star. 🌟

FileStoreBot

🎯 A Telegram Bot to Store and Share Files with a Single Link
🧑‍💻 Developed by @Prime_Hritu
📢 Stay updated via our Developer Channel


🌟 Features

✅ 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


⚙️ Configuration Variables

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

🚀 Deployment

🐧 Ubuntu Deployment

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.py

☁️ One-Click Deployment

Coming soon: Deploy to Heroku, Koyeb, or Render with one click!


📦 Usage

  • /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

📞 Contact

@Prime_Hritu
@Private_Bots


📚 Libraries Used

See requirements.txt for all dependencies.


🔖 License

This project is licensed under the MIT License.