Skip to content
 
 

Repository files navigation

📁 File Store Bot

Bot Features Animation

Made with ❤️ by :

Trinity Mods Logo

Made with Python


🤖 About

File Store Bot by Trinity Mods is a powerful yet beginner-friendly Telegram bot for secure file storage and sharing via private/direct links. Built with minimal code and maximum performance, it is perfect for both developers and non-coders alike.

🌀 Fastest-in-class performance with minimum codebase
🔧 Just edit config.py, start.py, and cbb.py — or only start.py — and you're ready to go!
🚀 Ideal for beginners, deploy-ready in under 2 minutes


🆕 Changelog Highlights

  • 🔐 Code System – Share access via simple codes instead of long URLs
  • 🔁 Superb Speed – Instantly convert files into links
  • 🔗 Global Shortener Support – Automatically add shortner to all links
  • Expiry Timer – Automatically delete files after a defined period
  • 💎 Premium Mode – Monetize your content with tiered access control

💡 Key Features

  • 📎 Multi-file support with custom captions
  • 🔒 Anti-forwarding + Anti-saving (protected content)
  • ➕ Force-subscribe up to 4 channels/groups
  • 🛠️ Fully customizable bot (start, caption, force-sub, etc.)
  • 🔗 Optional shortner integration with token verification mode
  • 💸 Inbuilt UPI/QR payment system for premium content
  • ⚡ Minimal setup required – perfect for beginners and non-coders

🚀 Deployment Options

Deploy to Heroku

Deploy on Railway

Deploy to Koyeb


🖥️ Or deploy manually on your VPS:

bash git clone https://github.com/Trinity-Mods/filestore.git cd filestore pip3 install -r requirements.txt python3 main.py


📜 Commands Overview

Command Description
/start Check if the bot is online
/ping Ping the bot
/stats Bot uptime
/users View registered user count
/batch Generate bulk links
/add_prem Add premium access (admin only)
/restart Restart the bot (admin only)
/admins, /add_admin, /del_admin Admin only commands

⚙️ Environment Variables

Key environment variables:

  • TG_BOT_TOKEN – Telegram Bot Token
  • APP_ID – Telegram API ID
  • API_HASH – Telegram API Hash
  • DB_URL – MongoDB URI
  • DB_NAME – MongoDB Database Name
  • CHANNEL_ID – Channel ID where files will be stored
  • OWNER_ID – Telegram User ID of Bot Owner
  • OWNER_TAG – Owner's Username for public contact
  • DISABLE_CHANNEL_BUTTON – Enable/Disable buttons in DB channel
  • USE_SHORTLINK – Set to True/False to enable link shortening
  • SHORTLINK_API_KEY – Your API key for the shortener
  • SHORTLINK_API_URL – URL of your shortener website
  • VERIFY_EXPIRE – Seconds before verification links expire
  • TUT_VID – Optional video link to show how to use the bot
  • USE_PAYMENT – Set to True/False to enable UPI payments
  • UPI_ID – UPI ID to accept payments
  • UPI_IMAGE_URL – UPI QR image link

🧙‍♂️ Developers


🌟 Support & Feedback

If you find this project useful, please:

  • ⭐ Star the repo on GitHub
  • 📢 Share it with others
  • 🧑‍💻 Contribute or report issues

🤝 Custom Bots or Partnerships: DM @the_universal_being


About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages