Dummy Gemini Bot is a production-grade, fully self-hostable Telegram bot powered by the Google GenAI SDK (Gemini). Built for developers, power users, and communities who want a deeply customizable AI companion, it combines multimodal chat (text, images, and voice notes), dual-engine Text-to-Speech, high-speed media downloading, and a React-based admin dashboard — all running inside a single Docker container. Out of the box, the bot ships with a witty, sarcastic Tehrani Persian persona, though every aspect of its personality and behavior is fully configurable through environment variables or the live admin web panel.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AmiraliNotFound/dummy-gemini-bot/llms.txt
Use this file to discover all available pages before exploring further.
Ready to get the bot up and running right now? Jump straight to the Quickstart guide — you’ll have a live bot in under five minutes.
Key Features
AI Chat
Multimodal Gemini-powered conversations with async SQLite history, configurable context windows, dynamic model failover, and VIP persona overrides.
Text-to-Speech
Dual-engine TTS using Microsoft Edge TTS (free, natural Persian) and Google Gemini TTS (premium audio), with automatic failover between engines.
Media Downloader
Auto-detects Instagram, Threads, YouTube, and Pinterest links. Downloads and re-uploads media with inline streaming, album support, and a 50 MB bypass via Cobalt CDN.
Admin Dashboard
React-based Telegram Mini App with stats, moderation controls, broadcast tools, live settings editing, and real-time Gemini API quota meters.
Daily Summaries
Scheduled background task that auto-generates sarcastic Persian summaries of group chat activity and posts them at a configured time each day.
Support System
Built-in DM support ticket system. Users submit tickets via
/support; admins respond with /reply. Includes voice note transcription via Gemini.Project Structure
The repository is organized as a Python backend with a React frontend housed inside thewebapp/ directory:
Requirements
Python Dependencies
The following packages are installed fromrequirements.txt:
| Package | Purpose |
|---|---|
python-telegram-bot>=20.0 | Async Telegram Bot API wrapper |
google-genai>=0.1.1 | Google GenAI SDK (Gemini) |
aiosqlite>=0.19.0 | Async SQLite database driver |
python-dotenv>=1.0.0 | .env file loader |
pillow>=10.0.0 | Image inspection and processing |
aiohttp>=3.9.0 | Async HTTP client/server |
aiohttp-cors>=0.7.0 | CORS middleware for the Web API |
yt-dlp>=2024.04.09 | Video/media downloader |
cryptography>=42.0.0 | Secure token and data operations |
edge-tts>=6.1.9 | Microsoft Edge Text-to-Speech |
curl-cffi>=0.10.0,<0.15.0 | Browser TLS impersonation for scraper bypass |
instaloader>=4.10 | Instagram media scraping |
System Dependencies
In addition to the Python packages, the following system-level tools are required:ffmpeg— Used for audio format conversion (raw PCM → OGG), video thumbnail generation, andffprobemetadata extraction. Installed automatically in Docker.- Deno runtime — Used by
yt-dlpas its JavaScript engine for sites that require JS evaluation (e.g. certain YouTube flows). The Docker image copies the Deno binary directly from the officialdenoland/deno:binimage.