Overview
This project appears to be a Telegram bot built with Python that includes support for multimedia processing, translation services, and various utility features. The main application code is compiled/obfuscated using Python's marshal module.
import zlib
# Compiled bytecode loaded at runtime
exec(marshal.loads(zlib.decompress(...)))
Features
Telegram Bot Integration
Built with Telethon library for Telegram API interaction
Multimedia Processing
FFmpeg support for audio/video handling and voice calls via py‑tgcalls
Translation Services
Multiple backends including Google Translate and GPT models
Utility Features
Text‑to‑Speech, QR Code Generation, Database Support, and Scheduling via aiocron
Tech Stack
- Runtime: Python 3.11
- Bot Framework: Telethon
- Database: SQLite with aiosqlite
- Multimedia: FFmpeg, py‑tgcalls, mutagen
- Translation: mtranslate, gpytranslate, Google GenAI, g4f
- Utilities: requests, aiohttp, watchdog, emoji, pytz
- Deployment: Docker
Get Started
Using Docker
docker run pro
Local Development
python main.py
Usage
Run the bot directly from the command line. The entry point main.py contains the compiled
marshal bytecode that loads the full bot functionality automatically.
Bot started...
Project Structure
- main.py - Main application entry point (compiled bytecode)
- requirements.txt - Python dependencies
- Dockerfile - Container configuration with multimedia support
- sessions_*.session - Telegram session file
Note: The main application logic is obfuscated using Python marshal compilation, making the actual bot functionality not directly readable in the source code.
Contributing
Contributions are welcome! Please check the GitHub repository for contribution guidelines and open issues. Feel free to submit pull requests or report bugs.
License
This project is available under the MIT License. See the repository for the full license text.