pro
View on GitHub
pro
A Python-based Telegram bot with multimedia processing capabilities and AI integration.
View SourceFeatures
Everything you need in a modern Telegram bot, powered by AI and robust multimedia tooling.
Telegram Bot
Built with Telethon for seamless Telegram API integration.
AI Integration
Supports Google Generative AI and G4F (GPT4Free).
Multimedia Processing
Audio processing with mutagen, voice calls with py-tgcalls.
Translation Services
Multiple translation providers (mtranslate, gpytranslate).
Text-to-Speech
Google TTS integration for natural voice output.
Additional Utilities
QR code generation, emoji support, timezone handling.
Tech Stack
Built on a modern Python stack with carefully chosen dependencies.
- Language
- Python 3.11
- Bot Framework
- Telethon
- AI Services
- Google GenAI, G4F
- Audio
- py-tgcalls, mutagen
- Database
- SQLite with aiosqlite
- Translation
- mtranslate, gpytranslate
- Other
- aiohttp, qrcode, gtts, pytz
Quick Start
Get the bot running in minutes with Docker or a local setup.
Using Docker
docker build -t pro .
docker run pro
Local Installation
pip install -r requirements.txt
python main.py
Project Structure
A look at how the project is organized.
pro/
├── Dockerfile # Docker configuration
├── main.py # Main application (obfuscated)
├── requirements.txt # Python dependencies
└── sessions_*.session # Telegram session file
Note
Heads up: The main application code is obfuscated using Python's marshal module. The bot appears to include session management and various multimedia/AI features based on the dependencies.
Requirements
What you'll need before running the bot.
- Python 3.11+
- FFmpeg (for audio processing)
- SQLite3
- See
requirements.txtfor complete Python dependencies
pro — A Python-based Telegram bot