The fastest path to a running Dummy Gemini Bot is Docker. A singleDocumentation 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.
docker-compose up command handles the entire build pipeline — compiling the React admin frontend, installing Python dependencies, pulling in ffmpeg and the Deno runtime, and starting the bot in the background. No manual environment setup required.
Prerequisites — make sure you have these before starting:
- Docker and Docker Compose installed on your machine or VPS
- A Telegram bot token from @BotFather
- A Gemini API key from Google AI Studio
Create your .env file
Copy the example environment file and open it for editing:The Replace
.env.example template contains all required variables:your_telegram_bot_token_here and your_gemini_api_key_here with your actual credentials, and update ALLOWED_ADMINS with your own Telegram username(s).Start with Docker
Build and launch the bot in detached mode:Docker performs a two-stage build defined in the
Dockerfile:- Stage 1 (Node 20 Alpine): Installs npm dependencies and runs
npm run buildto compile the React admin frontend into static assets. - Stage 2 (Python 3.11-slim): Installs
ffmpeg, copies the Deno binary from the officialdenoland/deno:binimage, installs all Python dependencies fromrequirements.txt, and copies the compiled frontend from Stage 1 — then starts the bot withpython main.py.
./data directory is mounted as a Docker volume, so your database and configuration persist across container restarts.Verify the bot is running
Stream the container logs to confirm everything started correctly:You should see messages confirming the database was initialized, commands were registered with Telegram, and polling has started. Press
Ctrl+C to stop following the logs without stopping the bot.What’s next
Full Deployment Options
Docker Compose deep-dive, systemd service setup, HTTPS with Cloudflare Tunnel, and production hardening tips.
Environment Variables
Complete reference for all configuration keys — models, TTS engines, context limits, personas, daily summaries, and more.
User Command Reference
Every user and admin command explained with usage examples and permission notes.
Admin Dashboard
Explore the React-based Telegram Mini App for real-time stats, moderation, broadcasts, and live settings editing.