Developed a functional Telegram bot in Python (pyTelegramBotAPI) for interactive monitoring and management of a list of target servers in real-time. Implemented functionalities and architectural solutions:
1) Dynamic management (CRUD): Implemented /add and /remove commands that allow the administrator to add new hosts or remove existing ones directly through the chat interface with automatic database (servers.txt) overwrite.
2) Status check on demand: Upon the /status command, the bot instantly pings all configured servers and sends a structured report on the current status (UP/DOWN).
3) User-friendly interface: Full output of the host list with the /list command using Markdown formatting for a beautiful and readable display of data to the user.
4) Security and isolation: The logic of operation is completely separated from configuration files, tokens are moved to a secure environment, and user input is automatically validated (converted to lowercase, exception handling).
Technology stack: Python 3.x, pyTelegramBotAPI (telebot), OS / File I/O, Linux OS.
1) Dynamic management (CRUD): Implemented /add and /remove commands that allow the administrator to add new hosts or remove existing ones directly through the chat interface with automatic database (servers.txt) overwrite.
2) Status check on demand: Upon the /status command, the bot instantly pings all configured servers and sends a structured report on the current status (UP/DOWN).
3) User-friendly interface: Full output of the host list with the /list command using Markdown formatting for a beautiful and readable display of data to the user.
4) Security and isolation: The logic of operation is completely separated from configuration files, tokens are moved to a secure environment, and user input is automatically validated (converted to lowercase, exception handling).
Technology stack: Python 3.x, pyTelegramBotAPI (telebot), OS / File I/O, Linux OS.