SecretShare-Bot is a privacy-first Telegram bot built using PyroFork. It allows users to share secrets and covert messages through Telegram—safely and anonymously. The bot supports premium user management, inline query sharing, MongoDB integration, and reaction-based control.
- 🔐 Anonymous secret sharing
- 💼 Premium user & sudo access management
- ⚡ Inline query support
- 📦 MongoDB-based persistent storage
- 🔄 Reaction-based controls
- 🆙 Optional ping to prevent Render.com timeout
Click the Fork button in the top-right corner of this GitHub repo and fork it to your account.
- Visit https://render.com and log in.
- Click "New Web Service"
- Connect your GitHub and select the forked repository.
- Environment:
Python - Build Command:
pip install -r requirements.txt- Start Command:
gunicorn app:app & python3 main.py & python3 ping.pyIn the "Environment" tab, add the following variables one by one:
| Key | Value |
|---|---|
API_ID |
Your Telegram API ID |
API_HASH |
Your Telegram API Hash |
BOT_TOKEN |
Your Bot token from @BotFather |
MONGO_URI |
Your MongoDB connection URI |
OWNER_ID |
Your Telegram numeric user ID |
BOT_USERNAME |
Your bot's username (without @) |
PING_URL |
Your Render web service URL |
PING_INTERVAL |
(Optional) Seconds, default: 20 |
Example
PING_URL:https://secretshare-bot.onrender.com
⚠️ You must deploy as a Web Service, not as a background worker.
git clone https://github.com/ByteSupreme/SecretShare-Bot
cd SecretShare-Botpip install -r requirements.txtCreate a .env file in the root directory:
API_ID=your_api_id
API_HASH=your_api_hash
BOT_TOKEN=your_bot_token
MONGO_URI=your_mongo_uri
OWNER_ID=your_owner_id
BOT_USERNAME=your_bot_username
PING_URL=https://your-render-url (optional)
PING_INTERVAL=20python3 main.pyThis project is licensed under the MIT License.
- Open an Issue for bug reports or help.
- Submit a Pull Request to contribute.