Made with ❤️ by :
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
- 🔐 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
- 📎 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
bash git clone https://github.com/Trinity-Mods/filestore.git cd filestore pip3 install -r requirements.txt python3 main.py
| 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 |
Key environment variables:
TG_BOT_TOKEN– Telegram Bot TokenAPP_ID– Telegram API IDAPI_HASH– Telegram API HashDB_URL– MongoDB URIDB_NAME– MongoDB Database NameCHANNEL_ID– Channel ID where files will be storedOWNER_ID– Telegram User ID of Bot OwnerOWNER_TAG– Owner's Username for public contactDISABLE_CHANNEL_BUTTON– Enable/Disable buttons in DB channelUSE_SHORTLINK– Set to True/False to enable link shorteningSHORTLINK_API_KEY– Your API key for the shortenerSHORTLINK_API_URL– URL of your shortener websiteVERIFY_EXPIRE– Seconds before verification links expireTUT_VID– Optional video link to show how to use the botUSE_PAYMENT– Set to True/False to enable UPI paymentsUPI_ID– UPI ID to accept paymentsUPI_IMAGE_URL– UPI QR image link
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
