Skip to content
calmmagePublic

About

A collection of cross-integrated utils and components for Telegram bots.

Topics

Resources

Security policy

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Botspot Botspot

A collection of cross-integrated utils and components for Telegram bots.

GitHub stars push-checks License: GPL-3.0 Python 3.12+ aiogram runtime

aiogram   Telegram Bot API

Botspot base_bot example: @botspot_command start handler and the command menu it registers

Connect botspot components to an aiogram dispatcher. Featured: user_data and send_safe. Access components via the singleton deps object and deps_getters.

Install

Needs Python ≥ 3.12 and a bot token from @BotFather.

Clone the botspot-template, copy example.env, enable the components you want, then run:

git clone https://github.com/calmmage/botspot-template.git your-bot-name
cd your-bot-name
cp example.env .env          # set TELEGRAM_BOT_TOKEN
python run.py

Component usage examples live in examples/. Generally, you can access components via singleton deps and deps_getters:

from botspot.utils.deps_getters import get_bot, get_database, get_scheduler

Agents: follow AGENTS.md for the component checklist and the examples/base_bot pattern.

Library

This repo is the library (v0.10.39). Add it from git — the PyPI botspot project is an older 0.1.x snapshot:

uv add git+https://github.com/calmmage/botspot.git

What you get

Surface What it is
Core BotManager wires components into your aiogram dispatcher
Components Data, features, middleware, QoL — enable with env / settings. Featured: user_data
Utils send_safe (split, format, auto-delete) and deps_getters
Commands @botspot_command builds /help and the Telegram command menu

Docs

This page, install, example docs/index.md
Component demos examples/
Agent install / conventions AGENTS.md
Vulnerability reports SECURITY.md
uv run pytest     # tests
uv run ruff check botspot

License

GPL-3.0 — see LICENSE. Vulnerabilities: SECURITY.md.

About

A collection of cross-integrated utils and components for Telegram bots.

Topics

Resources

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages