Varto
Хочете будувати кар’єру в Data Science та AI? Vodafone Big Data Lab відкриває новий набір —>

An Odessa developer has created a Telegram bot that combines dozens of alarm monitoring channels into one feed. How bot_allert works

Backend and AI engineer Vladyslav Skopenko launched the open-source project bot_allert — a Telegram bot that solves the problem of information overload when monitoring air alerts. When the number of such sources reaches dozens, users risk either getting tired of constant notifications or missing the danger. The developed tool solves this dilemma by combining notifications into a convenient and customizable feed.

Leave a comment
Add to Google
An Odessa developer has created a Telegram bot that combines dozens of alarm monitoring channels into one feed. How bot_allert works

Backend and AI engineer Vladyslav Skopenko launched the open-source project bot_allert — a Telegram bot that solves the problem of information overload when monitoring air alerts. When the number of such sources reaches dozens, users risk either getting tired of constant notifications or missing the danger. The developed tool solves this dilemma by combining notifications into a convenient and customizable feed.

“A person monitors about twenty channels with alarms. Some of them are important, the rest are mostly noise. If you turn off the sound, you can miss something important. If you don’t turn it off, the phone rings constantly,” Vladislav Skopenko explains the purpose of his development.

How the bot works

bot_allert combines all selected channels from a separate Telegram folder into one common feed and forwards posts to a single chat. The tool automatically adjusts to the user's system settings: if a specific channel is disabled, messages from it will arrive silently, and from important sources - with sound.

To implement this logic, the developer had to use a combined scheme of two clients:

“The bot cannot forward posts from channels in which it is not present. Therefore, two clients work: one is logged into the user's account and only reads posts and settings, the second, a regular bot, sends them,” the engineer notes.

The developer also emphasized that the bot works exclusively in reading mode: it does not publish materials, does not change the read status, and does not perform actions with subscriptions.

Technical challenges and optimization

During development, the engineer faced several technical challenges.

In particular, it turned out that “silent” statuses in Telegram are stored in different ways — with a flag, a blocking end date, or an empty sound, so the bot had to take all three options into account. In addition, there were difficulties with formatting due to the fact that the messenger calculates text positions in UTF-16, where emojis shifted links and bold font and required additional recalculations. Despite these nuances, the tool was optimized to work even on weak hardware — it runs without problems on the free Oracle Cloud Free Tier server.

"There were no free ARM servers ("Out of capacity"), so I took a micro-virtual machine with 1 GB of memory and added swap so that the Docker image could be assembled on it. The bot needs about 100 MB," the IT guy shares.

Security and restrictions

The project is completely decentralized and open-source: it does not have a single server, and each user runs their own bot instance for their account using Docker or Python 3.12+ (with uv).

Among the current limitations of the tool, the author highlights the lack of tracking of post edits/deletions, forwarding albums in separate messages, and skipping publications created when the bot restarts.

The source code and detailed instructions for getting started are published on GitHub .

Ukrainian IT specialists regularly create their own technological solutions for monitoring the security situation. Previously, dev.ua told about IT specialist Volodymyr Kovalchuk, who launched an application with a convenient widget for tracking alarms in real time , which has been used by more than 100,000 users in four years. And telemechanics specialist Ivan Gorokhov developed interactive "live" wallpapers for Windows that display the current status of air alarms in Ukraine directly on the desktop .

Ukraine will release a smart watch with support for an online map of alarms and power outage schedules
Ukraine will release a smart watch with support for an online map of alarms and power outage schedules
On the topic
Ukraine will release a smart watch with support for an online map of alarms and power outage schedules
A map of the approximate movement of drones and missiles has appeared in the "Air Alert" application
A map of the approximate movement of drones and missiles has appeared in the "Air Alert" application
On the topic
A map of the approximate movement of drones and missiles has appeared in the "Air Alert" application
A Fallout fan from Ukraine created a Pip-Boy-style system that tracks air alarms and power outages
A Fallout fan from Ukraine created a Pip-Boy-style system that tracks air alarms and power outages
On the topic
A Fallout fan from Ukraine created a Pip-Boy-style system that tracks air alarms and power outages
Read the country's main IT news in our Telegram
Read the country's main IT news in our Telegram
On the topic
Read the country's main IT news in our Telegram
Also Read
Соціальні мережі та штучний інтелект формують глобальні наративи про війну в Україні. Як їх використовують українці та росіяни — аналітика від Foreign Policy
Соціальні мережі та штучний інтелект формують глобальні наративи про війну в Україні. Як їх використовують українці та росіяни — аналітика від Foreign Policy
Соціальні мережі та штучний інтелект формують глобальні наративи про війну в Україні. Як їх використовують українці та росіяни — аналітика від Foreign Policy
Напередодні вторгнення росії в Україну соціальні медіа слугували полем битви для держав і недержавних діячів, щоби поширювати конкуруючі наративи про війну та зображати поточний конфлікт у своїх власних інтересах. Видання Foreign Policy опублікувало великий аналітичний матеріал, як українці та росіяни використовують соціальні мережі, щоб давати інформацію про війну. Наводимо його адаптований переклад.
4 comments
Полтавський суд засудив харків’янку за продаж оголених фото у Telegram
Полтавський суд засудив харків’янку за продаж оголених фото у Telegram
Полтавський суд засудив харків’янку за продаж оголених фото у Telegram
Рашисти збирають дані про українців за допомогою бота в Telegram. Як його заблокувати
Рашисти збирають дані про українців за допомогою бота в Telegram. Як його заблокувати
Рашисти збирають дані про українців за допомогою бота в Telegram. Як його заблокувати
Telegram 19 червня запустив Premium-підписку. Скільки вона коштуватиме, які нові функції отримає підписник
Telegram 19 червня запустив Premium-підписку. Скільки вона коштуватиме, які нові функції отримає підписник
Telegram 19 червня запустив Premium-підписку. Скільки вона коштуватиме, які нові функції отримає підписник
Telegram 19 червня запустив Premium-підписку. Вона відкриває доступ до додаткових функцій месенджера. Користувачі платної версії зможуть завантажувати файли об'ємом до 4 ГБ та скачувати їх на максимальній швидкості, використовувати додаткові інструменти для керування чатами та автоматично трансформувати голосові повідомлення у текст.
1 comment

Have important news to share? Message our Telegram bot

Key events and useful links in our Telegram channel

Discussion
No comments yet.