pro
A Python-based Telegram bot application with multimedia processing capabilities.
Overview
This project appears to be a Telegram bot built with Python that supports various features including audio/video processing, translation, QR code generation, and more.
The main application code is compiled/obfuscated using Python's marshal module.
Key Features
Based on the dependencies and Docker configuration:
Telegram Bot Integration
Built with Telethon library.
Multimedia Processing
Audio/video handling with FFmpeg and mutagen.
Translation Services
Multiple translation backends (mtranslate, gpytranslate).
Voice Calls
Telegram voice call support via py-tgcalls.
Text-to-Speech
Google TTS integration.
QR Code Generation
Built-in QR code creation.
Database Support
SQLite with async operations.
AI Integration
Google Generative AI and G4F support.
Scheduling
Automated tasks with aiocron.
Date Conversion
Hijri calendar support.
Tech Stack
Language: Python 3.11 Bot Framework: Telethon Database: SQLite (aiosqlite) Media: FFmpeg, mutagen AI/ML: Google GenAI, G4F Container: Docker
- Language: Python 3.11
- Bot Framework: Telethon
- Database: SQLite (with aiosqlite)
- Media Processing: FFmpeg, mutagen
- AI/ML: Google GenAI, G4F
- Containerization: Docker
- Other: Various utility libraries for web scraping, scheduling, and formatting
Quick Start
Using Docker (Recommended)
# Build and run docker build -t pro . docker run -it pro
Manual Installation
# Install system dependencies (Ubuntu/Debian) sudo apt-get install ffmpeg git gcc python3-dev libffi-dev libssl-dev sqlite3 # Install Python dependencies pip install -r requirements.txt # Run the application python3 main.py
Project Structure
- main.py - Main application (compiled/obfuscated)
- requirements.txt - Python dependencies
- Dockerfile - Container configuration
- sessions_201108037587.session - Telegram session file
Note: The main application code is obfuscated using Python's marshal module, making it unreadable in its current form.