feat: Develop web interface

- Implemented the initial version of the web interface.
refactor: Begin Telegram bot refactoring
- Started restructuring the bot’s code for better maintainability.
chore: Migrate to Flask project structure
- Reorganized the application to follow Flask's project structure.
cleanup: Extensive code cleanup
- Removed redundant code and improved readability.

Signed-off-by: UdoChudo <stream@udochudo.ru>
This commit is contained in:
2025-06-10 14:39:11 +05:00
parent acf4436fc4
commit 52e31864b3
2200 changed files with 3205 additions and 2638 deletions
View File
+11
View File
@@ -0,0 +1,11 @@
# app/bot/keyboards/main_menu.py
from telebot.types import ReplyKeyboardMarkup, KeyboardButton
def get_main_menu():
markup = ReplyKeyboardMarkup(resize_keyboard=True)
markup.add(
KeyboardButton("Настройки"),
KeyboardButton("Активные проблемы"),
KeyboardButton("Помощь")
)
return markup
+9
View File
@@ -0,0 +1,9 @@
# app/bot/keyboards/settings_menu.py
from telebot.types import ReplyKeyboardMarkup, KeyboardButton
def get_settings_menu():
markup = ReplyKeyboardMarkup(resize_keyboard=True)
markup.add(KeyboardButton("Подписаться"),KeyboardButton("Отписаться"))
markup.add(KeyboardButton("Мои подписки"),KeyboardButton("Режим уведомлений"))
markup.add(KeyboardButton("Назад"))
return markup