proo
A Python Telegram bot framework built with advanced features and obfuscated code for secure deployment.
A sophisticated Telegram bot application that leverages multiple Python libraries for messaging, translation, audio processing, and AI integration.
Explore key featuresOverview
proo appears to be a sophisticated Telegram bot application that leverages multiple Python libraries for messaging, translation, audio processing, and AI integration.
The main application code is obfuscated using Python's marshal module, suggesting security-focused deployment.
from telethon import TelegramClient
from gpytranslate import Translator
from gtts import gTTS
app = TelegramClient("sessions_9647825345323", api_id, api_hash)
# Main application logic is obfuscated in main.py
Key Features
Everything you need to build powerful Telegram bots, out of the box.
Telegram Integration
Built on Telethon for robust Telegram bot functionality
AI & Translation
Integrates Google GenAI, GPT models (g4f), and multiple translation services (mtranslate, gpytranslate)
Audio Processing
Supports voice calls (py-tgcalls) and audio manipulation (mutagen, gtts)
Multi-language Support
Includes Arabic localization and RTL language support
Database
SQLite integration with async support (aiosqlite)
Scheduling
Automated tasks with aiocron
Additional Tools
QR code generation, emoji support, timezone handling
Tech Stack
The framework is built with modern Python tools and services.
Runtime
Python 3.11
Core Framework
Telethon
AI/ML
Google GenAI, g4f (GPT models)
Database
SQLite with aiosqlite
Audio
py-tgcalls, mutagen, gTTS
Translation
mtranslate, gpytranslate
Utilities
aiohttp, requests, qrcode, emoji
Docker Deployment
The project includes a production-ready Dockerfile with:
- FFmpeg for media processing
- SQLite with Python bindings
- System dependencies for audio/video processing
- Arabic comments indicating careful configuration
Getting Started
# Using Docker
docker build -t proo .
docker run proo
# Local development
pip install -r requirements.txt
python main.py
main.py. A session file (sessions_9647825345323.session) suggests this bot connects to a specific Telegram account or bot token.