My day of building telegram bots and riding before the rain
Today, during the day, I was ridiculously busy with my own projects, especially with a very old project in the Tatar language that I started developing in 2011, or maybe even earlier. That project is very simple, without anything special. Basically, everyone there can share their poetry through a special account and get some feedback through likes, comments, or any other possible ways. And the reason I suddenly decided to come back to this old project was actually quite simple. I recently received a 50% discount from Cursor AI on a special subscription plan, so I decided to use this opportunity to analyze my codebase and finally finish some old developments. Because of that, I ended up spending almost the whole day working on my projects and only managed to leave home closer to 3 PM to complete my daily milestone in nature before the rain.
But as for what I did during the whole day was programming. I developed two Telegram bots for my projects. The first one, as I already mentioned, was for my Tatar language project, @tatarssm_bot, and the second one was for my blog, @atrvlr_bot. You can find both of these bots on Telegram and try them out. Of course, the first bot uses only the Tatar language in Cyrillic, while the second one is only in English.
In my view, the first bot, @tatarssm_bot, turned out to be pretty powerful. Through the bot, everyone can use their current account functionalities directly without even opening the website. They just need to connect their Telegram account with their account on the site. And honestly, developing this bot was much more comfortable because my project was already divided into two parts: a frontend, where I used the Nuxt framework, and a backend built with Laravel. Because of this setup, I had already created an API for the frontend and had ready API requests that were being used by my Nuxt.js app. Because of that, it was much easier to use the same API for the Telegram bot instead of building everything from scratch.
The second bot for my blog, @atrvlr_bot, doesn't give so much freedom to control everything through Telegram, mainly because I didn't really have those feelings about making it that way. My blog also isn't divided into two parts like my first project, so reorganizing the whole codebase just for this could take some time. And honestly, I didn't really want to develop the bot in a way that would allow me to control my whole blog account through Telegram, as managing the account is much more comfortable directly through the blog itself. So instead of building a huge machine to control everything, I decided to make something simpler that could notify me about important things. For example, who left comments and likes, what post was updated, what flashcard was added, and other useful notifications.