SESSION-GEN-BOT is a fully secure, open-source Telegram bot designed to generate Pyrogram and Telethon session strings easily directly from Telegram.
It never stores your phone numbers, OTPs, or session strings anywhere. Everything happens dynamically and is instantly discarded after being sent to your Saved Messages! π
|
|
|
|
| Requirement | Details |
|---|---|
| π Python | 3.11+ |
| π Telegram API | Get from my.telegram.org |
| π€ Bot Token | Get from @BotFather |
Easily deploy the bot 24/7 on your favorite cloud platform!
# 1οΈβ£ Clone the repository
git clone https://github.com/SUDEEPBOTS/SESSION-GEN-BOT.git
cd SESSION-GEN-BOT
# 2οΈβ£ Install dependencies
pip install -r requirements.txtSet these inside YUKISTRING/config.py or as Environment Variables:
API_ID=12345 # Telegram API ID
API_HASH=your_api_hash # Telegram API Hash
BOT_TOKEN=123456:ABC-xyz # Bot Token from BotFather
OWNER_ID=123456789 # Your Telegram User ID# Run directly
python3 -m YUKISTRING
# Or with Docker π³
docker build -t sessiongen .
docker run -d --env-file .env sessiongen| Technology | Purpose |
|---|---|
| Pyrogram | Core Telegram MTProto client |
| Telethon | Telethon string generation module |
| Pyromod | Interactive conversation handler |
| Docker | Containerized deployment |
This project is open source and available under the MIT License.

