Pro
Pythonβbased Telegram bot for multimedia processing & translation.
Overview
Pro is a Telegram bot built with Python that appears to handle multimedia processing, translation services, and various automation tasks. The bot is containerized with Docker for easy deployment and includes session management for persistent connections.
Key Features
The main code is obfuscated using marshal encoding, so features are inferred from dependencies and Docker configuration.
Multimedia Processing
FFmpeg integration for audio/video handling, enabling seamless media conversion and manipulation directly through Telegram.
Translation Services
Multiple translation backends including mtranslate, Google GenAI, and gpytranslate for accurate, versatile language translation.
Voice Capabilities
Text-to-speech with gTTS and advanced audio processing with mutagen for rich voice interaction features.
Telegram Integration
Built on Telethon with py-tgcalls for voice calls, providing deep integration with Telegram's messaging and calling APIs.
Database Support
SQLite with aiosqlite for fast, asynchronous database operations β reliable and lightweight persistence.
Automation
Scheduled tasks with aiocron keep the bot running efficiently with timed jobs and background processing.
QR Code Generation
Built-in QR code creation capabilities for quick sharing and mobile-friendly interactions.
Tech Stack
Runtime
Python 3.11
Bot Framework
Telethon
Database
SQLite3 with aiosqlite
Multimedia
FFmpeg, mutagen, py-tgcalls
Translation
mtranslate, Google GenAI, gpytranslate
Containerization
Docker
Additional
aiohttp, watchdog, emoji support
Quick Start
Using Docker
docker build -t pro .
docker run -d pro
Manual Installation
pip install -r requirements.txt
python main.py
Project Structure
Notes
- The main application code is obfuscated using Python's marshal module
- Includes Arabic comments in Dockerfile warning about modifications
- Session file suggests active Telegram bot configuration
- Comprehensive dependency list indicates feature-rich functionality