💻 Boosty_Telegram_Repost_Bot & VKPlayLive_Telegram_Alert_Bot
Просто делюсь тем, что допилил своих "публичных Telegram-ботов", т.к. больше негде 🌚 | I'm just sharing that I've finished my "public Telegram-bots" because there's nowhere else 🌚
🇷🇺
Вынужденный отказ от распития спиртного подвел меня к тому, что я так долго откладывал: масштабный рефакторинг кода и миграцию на нормальную Базу Данных в своих погромистских поделках.
Впрочем, без ИИ-помощника в качестве интерактивного учебного пособия вряд ли бы я смог довести дело до желаемого результата, да еще и уложиться за месяц вечеров и выходных дней.
На самом деле, все и так работало ровно и стабильно (даже удивительно), а следовательно - "работает? не трожь"! Не считая небольшого недоразумения в виде протечки RAM, которое решалось автоматическим рестартом раз в сутки. Но я как старый пес, который учит новые трюки хотел найти применение своему кунг-фу и раскачать допаминовые качели маленьких побед от решения поставленных задач.
Подытоживая: функционала прибавилось, а код сократился на треть. Появилась уверенность, что боты смогут выдержать 50+ пользователей. Ну и освоил пачку новых техник и приемов. Приятно, да вот только глаза слезятся и колени скрипят.
Теперь хочу аж не могу сделать еще одного Telegram-бота с оповещениями на основе официального API Kick с интерфейсом на двух языках. Не то, чтобы цель оправдывала средства - профит с единичных донатов не окупает ни сервер, ни потраченное время.. Просто программировать интересно лишь тогда, когда есть какой-то проект.
А что за боты? А вот - один оповещает о новом посте автора на Boosty, а другой о начале стрима на VK Видео Live.
Я еще сегодня как раз переписал инструкции на сайте (это было прямо самое нудное). Можно там глянуть еще че к чему
https://mikulski.rocks/ru/boosty_telegram_repost_bot/
https://mikulski.rocks/ru/vkplaylive_telegram_alert_bot/
——————————————————————————————————————
🇺🇸
The forced refusal to drink alcohol led me to what I had been putting off for so long: a large-scale refactoring of the code and migration to a normal Database in my coding crafts.
However, without an AI assistant as an interactive training tool, I would hardly have been able to achieve the desired result, and even meet it in a month of evenings and weekends.
In fact, everything was working smoothly and stably (even surprisingly), and therefore - "is it working? Don't touch it!" Apart from a small misunderstanding in the form of a RAM leak, which was solved by an automatic restart once a day. But like an old dog who learns new tricks, I wanted to find a use for my kung fu and rock the dopamine swing of small victories from solving the tasks.
To summarize: the functionality has increased, and the code has been reduced by a third. There is confidence that the bots will be able to withstand 50+ users. Well, I've mastered a bunch of new techniques. It's nice, but my eyes are watering and my knees are creaking.
Now I want to make another Telegram bot with alerts based on the official Kick API with an interface in two languages. It's not that the goal justifies the means - the profit from individual donations does not pay off either the server or the time spent.. It's just that programming is interesting only when there is some kind of project.
What kind of bots? And here - one notifies about the author's new post on Boosty, and the other about the beginning of the stream on VK Video Live.
Вынужденный отказ от распития спиртного подвел меня к тому, что я так долго откладывал: масштабный рефакторинг кода и миграцию на нормальную Базу Данных в своих погромистских поделках.
Впрочем, без ИИ-помощника в качестве интерактивного учебного пособия вряд ли бы я смог довести дело до желаемого результата, да еще и уложиться за месяц вечеров и выходных дней.
На самом деле, все и так работало ровно и стабильно (даже удивительно), а следовательно - "работает? не трожь"! Не считая небольшого недоразумения в виде протечки RAM, которое решалось автоматическим рестартом раз в сутки. Но я как старый пес, который учит новые трюки хотел найти применение своему кунг-фу и раскачать допаминовые качели маленьких побед от решения поставленных задач.
Подытоживая: функционала прибавилось, а код сократился на треть. Появилась уверенность, что боты смогут выдержать 50+ пользователей. Ну и освоил пачку новых техник и приемов. Приятно, да вот только глаза слезятся и колени скрипят.
Теперь хочу аж не могу сделать еще одного Telegram-бота с оповещениями на основе официального API Kick с интерфейсом на двух языках. Не то, чтобы цель оправдывала средства - профит с единичных донатов не окупает ни сервер, ни потраченное время.. Просто программировать интересно лишь тогда, когда есть какой-то проект.
А что за боты? А вот - один оповещает о новом посте автора на Boosty, а другой о начале стрима на VK Видео Live.
Я еще сегодня как раз переписал инструкции на сайте (это было прямо самое нудное). Можно там глянуть еще че к чему
https://mikulski.rocks/ru/boosty_telegram_repost_bot/
https://mikulski.rocks/ru/vkplaylive_telegram_alert_bot/
——————————————————————————————————————
🇺🇸
The forced refusal to drink alcohol led me to what I had been putting off for so long: a large-scale refactoring of the code and migration to a normal Database in my coding crafts.
However, without an AI assistant as an interactive training tool, I would hardly have been able to achieve the desired result, and even meet it in a month of evenings and weekends.
In fact, everything was working smoothly and stably (even surprisingly), and therefore - "is it working? Don't touch it!" Apart from a small misunderstanding in the form of a RAM leak, which was solved by an automatic restart once a day. But like an old dog who learns new tricks, I wanted to find a use for my kung fu and rock the dopamine swing of small victories from solving the tasks.
To summarize: the functionality has increased, and the code has been reduced by a third. There is confidence that the bots will be able to withstand 50+ users. Well, I've mastered a bunch of new techniques. It's nice, but my eyes are watering and my knees are creaking.
Now I want to make another Telegram bot with alerts based on the official Kick API with an interface in two languages. It's not that the goal justifies the means - the profit from individual donations does not pay off either the server or the time spent.. It's just that programming is interesting only when there is some kind of project.
What kind of bots? And here - one notifies about the author's new post on Boosty, and the other about the beginning of the stream on VK Video Live.
I just rewrote the instructions on the website today (it was just the most tedious thing). But everything only in Russian..
https://mikulski.rocks/ru/boosty_telegram_repost_bot/
https://mikulski.rocks/ru/vkplaylive_telegram_alert_bot/
blog