Ready-made Telegram bot ChatGPT DeepSeek Gemini with admin panel Python script
555 ₽
555 ₽
You need your own API key from DeepSeek, OpenRouter, OpenAI, or Google Gemini. The cost of paid tokens from these providers is not included in the price of the script.
Ready-to-use source code for a Telegram bot with AI integration in Python 3.10+. The script is written entirely using Python’s standard library (urllib, sqlite3 in WAL mode, json, threading), so no third-party packages need to be installed via pip, and no dependency-building is required to run it.
Features implemented in the script:
- Support for four providers out of the box: DeepSeek, OpenRouter, OpenAI-compatible APIs, and Google Gemini REST API.
- Storage of users, chat history with a sliding context window, daily quotas, and subscriptions in a local SQLite database (WAL mode).
- User commands: /start, /help, /reset (to reset context), /status (to check remaining message allowance), /model (to view the current model), and /activate (to enter an access promo code).
- Free daily request limit for regular users, with temporary or VIP access granted via one-time promo codes.
- Admin control panel directly within the chat: /admin, /stats (to view statistics), /gen_code (to generate a batch of promo codes for a specified number of days), /grant (to manually grant access by user_id), and /broadcast (to send messages to all users in the database).
- Configuration via a standard .env file (bot token, provider, API key, model, system prompt, list of administrator IDs, daily request limit).
- Quick-start script Start_Bot.cmd for Windows and an install script install_linux.sh for Linux servers using systemd.
System requirements:
- Python 3.10 or newer, running on Windows or Linux.
- A Telegram bot token (created for free via BotFather) and your own API key for the chosen AI provider.
- Source code is open for customization to suit your project.
Contents of the archive upon payment:
- Bot source code (src directory), .env.example configuration template, Start_Bot.cmd and install_linux.sh scripts, and a Russian-language README (README_RU.md).
Instant automatic delivery after payment. You need your own API key from DeepSeek, OpenRouter, OpenAI, or Gemini. Support is available through the order chat on the platform.
We remember your language, theme, catalog view and favorites in your browser. All of this stays on your device and is never sent to us. Without your consent, settings and favorites are not kept: they reset when you leave the page. Yandex Metrica and Webvisor run on the site regardless of this choice: they count visits and record your actions on the page (mouse, clicks, scrolling). Text you type into fields is not recorded. See the privacy policy for details. Microsoft Clarity records your actions on the page (mouse movement, clicks, scrolling) regardless of this choice; text you type into fields is not recorded. If you decline cookies, Clarity keeps working without cookies. See the privacy policy for details. The site shows Yandex Advertising Network ads: Yandex uses cookies to choose the ads.