Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

KunalG932/StringX

Repository files navigation

StringX

StringX

A modular Telegram Bot for obtaining API credentials and generating session strings for Pyrogram and Telethon.

Update Channel

Features

  • Generate API ID and API Hash from my.telegram.org directly through the bot.
  • Create session strings for Pyrogram, Kurigram, Pyrofork, Hydrogram, and Telethon.
  • Clean and simplified codebase for easy maintenance.
  • User tracking and statistics.
  • MongoDB integration for persistent storage.

Commands

  • /start: Initial greeting and main menu.
  • /generate: Create API credentials.
  • /session: Create a session string.
  • /help: List all available commands.
  • /stats: View user and bot statistics.
  • /cancel: Terminate the current operation.

Setup

  1. Define environment variables in a .env file:
    • BOT_TOKEN
    • API_ID
    • API_HASH
    • MONGO_URI
  2. Install required dependencies: pip install -r requirements.txt
  3. Execute the bot: python manage.py

Deployment

Click the button below to deploy this bot to Heroku.

Deploy

⚠️ Disclaimer

  • This project is strictly for educational purposes only.
  • The developers and contributors are not responsible for any misuse of this tool.
  • Security and ethical use are the responsibility of the user. Misusing this bot to violate Telegram's Terms of Service may lead to account bans.
  • Use it at your own risk.

About

A powerful Telegram bot to generate API credentials and session strings for Pyrogram and Telethon. Strictly for educational purposes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /