Skip to main content

Telegram Bot Control

Русский · English

Русский

Панель мониторинга и управления существующими aiogram-ботами на Windows/Linux. Для готовой программы достаточно Python 3.11+. Node.js, pnpm, Git и сборка исходников не нужны. Используйте обычный Python, которым уже запускаете бота.

Отдельное приложение Windows

  1. В PowerShell установите библиотеку:

    python -m pip install --upgrade telegram-bot-control
    
  2. Скачайте установщик Windows и запустите его.

  3. Откройте Telegram Bot Control ярлыком. В обучении выберите Локально, в поле Python введите python и нажмите Подключиться.

Если бота запускаете через py main.py, устанавливайте пакет командой py -m pip install --upgrade telegram-bot-control. Если Python ещё нет, скачайте его с python.org и заново откройте PowerShell.

Самый короткий вариант — в браузере

Установите пакет и запустите панель:

python -m pip install --upgrade telegram-bot-control
python -m telegram_bot_control web --port 8765

На Linux используйте python3 вместо python в обеих командах. Откройте http://127.0.0.1:8765, введите ключ из терминала и оставьте терминал открытым. Ctrl+C остановит панель. Termux и доступ из сети.

Как добавить бота

В его главном файле после создания существующих bot и dp, перед polling:

from telegram_bot_control import start

monitor = start(bot=bot, dispatcher=dp, capture_logs=True)
dp.update.outer_middleware(monitor.middleware())

Запустите бота привычной командой — карточка появится автоматически. Оставьте свои роутеры, .env и логгер. По умолчанию бот и панель используют общую папку текущего пользователя. Если задаёте data_dir, он должен совпадать в обоих местах.

Работаете с ИИ? Скопируйте готовый промпт. Подробная инструкция первого запуска.

Возможности

  • Состояние ботов, пользователи, сообщения, команды, кнопки и история ошибок.
  • Свои события monitor.track_action() и @monitor.action() для функций: графики, время срабатывания, длительность и результат.
  • Существующие logging/Loguru, поиск по логам, подробности ошибок запуска.
  • CPU, RSS и потоки процесса каждого бота.
  • Запуск/остановка/перезапуск, сложные команды и ограниченный автоперезапуск.
  • Русский/английский интерфейс, обучение, трей и настройки хранения.

Базовый пакет зависит только от psutil. Для существующего aiogram-проекта достаточно базового пакета; если aiogram ещё не установлен, используйте python -m pip install "telegram-bot-control[aiogram]". Веб-интерфейс и шрифты с кириллицей уже включены в пакет.

Все готовые сборки · События и аналитика · Разработка из исходников.


English

Monitor and control existing aiogram bots on Windows/Linux. Python 3.11+ is enough for the ready-made application; Node.js, pnpm and a source build are not required. Use the same Python that already runs your bot.

Windows desktop

python -m pip install --upgrade telegram-bot-control

Download the Windows installer, run it and open its desktop/Start menu shortcut. Choose Local, enter python and click Connect. If your bot uses py main.py, install through py -m pip instead.

Browser setup

python -m pip install --upgrade telegram-bot-control
python -m telegram_bot_control web --port 8765

Use python3 on Linux. Open http://127.0.0.1:8765, enter the terminal access key and keep that terminal open. Ctrl+C stops the dashboard.

Connect an existing bot

from telegram_bot_control import start

monitor = start(bot=bot, dispatcher=dp, capture_logs=True)
dp.update.outer_middleware(monitor.middleware())

Add this after your existing Bot/Dispatcher and before polling. Preserve existing routers, logging, .env and launch commands. Start the bot normally to register it. The bot and dashboard use the owner's shared directory by default; any explicit data_dir must match. Copyable AI integration task.

Includes status, action timelines, exact timestamps/outcomes/duration, existing logging/Loguru adapters, CPU/RSS history, launch profiles and process controls, bounded restarts, Russian/English UI, onboarding and configurable retention. The base dependency is psutil. Use [aiogram] only if aiogram is not already installed. The browser UI and local fonts are bundled in the Python package.

Downloads · Source development setup.

Early preview for one trusted owner. History starts at SDK integration. Bots sharing one Python process share resources and cannot stop independently. Desktop Python is installed separately. The Windows installer is currently unsigned.

Created by Дмитрий Варг. MIT license.

Metadata

Release files for telegram-bot-control 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telegram-bot-control 0.6.1
File Size Uploaded Provenance Actions
telegram_bot_control-0.6.1.tar.gz 310.9 kB With provenance Details for telegram_bot_control-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telegram-bot-control 0.6.1
File Interpreter ABI Platform Actions
telegram_bot_control-0.6.1-py3-none-any.whl Python 3 none any Details for telegram_bot_control-0.6.1-py3-none-any.whl

Total release size: 555.6 kB

Release files / telegram_bot_control-0.6.1.tar.gz

Download URL telegram_bot_control-0.6.1.tar.gz
Size 310.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0fc47735f1d36c0406345164a38f67796ec88e98a76a0cf13cf91511b58ebba3
BLAKE2b-256 checksum
How to use checksums
4d23d2a8cf8223229711e58646547ab9757f3e91c893922965961a2be4b3b71a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / telegram_bot_control-0.6.1-py3-none-any.whl

Download URL telegram_bot_control-0.6.1-py3-none-any.whl
Size 244.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78f4a86ae74f49e5e19b682483dc939b28b77b04a9514ae9e18b9720afbcf0ae
BLAKE2b-256 checksum
How to use checksums
2212033ac5ce4566ffbbbe2a1b741ada0516aa79598ee0f4cecdfc3cd1f0dfbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for telegram-bot-control 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for telegram_bot_control-0.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page