Daniil-Osipov-svg /
Aiogram_bot_project
This is my first python project for making Telegram bot
27/100 healthLoading repository data…
51n1au5k1 / repository
This project is a robust Telegram bot built with Python's aiogram library. It features middleware for authentication, throttling, and logging to ClickHouse. The bot carefully manages user interactions using a whitelist mechanism and logs all actions for auditing purposes.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This project implements a simple echo Telegram bot with logging capabilities using ClickHouse database. The bot also features user authentication and request throttling.
Clone the repository and navigate to the cloned directory:
bashCopy code
git clone https://github.com/yourusername/telegram-bot-clickhouse-logging.git cd telegram-bot-clickhouse-logging
Install the Python requirements:
bashCopy code
pip install -r requirements.txt
Create a bot on Telegram and get your bot token. How to create a bot
Set up a ClickHouse server. ClickHouse Installation Instructions
In config/settings.ini:
[TELEGRAM], set BOT_TOKEN to your Telegram bot token.[CLICKHOUSE], set:
HOST to your ClickHouse server host.PORT to your ClickHouse server port.DATABASE to your ClickHouse database name.USER to your ClickHouse username.PASSWORD to your ClickHouse password.TABLE to your ClickHouse table name for logging.In config/bot_lists.ini:
Selected from shared topics, language and repository description—not editorial ratings.
Daniil-Osipov-svg /
This is my first python project for making Telegram bot
27/100 health[WHITELIST], set LIST to a comma-separated list of Telegram user IDs that are authorized to use the bot.To start the bot:
bashCopy code
python function/main_bot.py
The main files and directories in this project include:
function/main_bot.py: The main bot script.function/bot_helper.py: Contains helper functions used by the bot.function/bot_middleware.py: Contains middleware classes for ClickHouse logging, user authentication, and request throttling.bot_config.py: Sets up the bot, dispatcher, and ClickHouse client.config/: Directory containing configuration files.Andrei Siniauski
This project is licensed under the MIT License.