EngiNerd.io

Full Stack Engineer who speaks JS/TS, Python, Go, and a bit of C. I build web apps, automate the boring stuff, and occasionally make bots just for fun

Goodbye, Gromozeka Bot

The Gromozeka bot was implemented to assist Telegram users in deleting all of their messages from a chat, channel, or conversation, even without admin privileges. Official Telegram clients lack a straightforward solution for a mass message deletion, requiring users to manually select and delete messages, with a limit of 100 at a time. Gromozeka bot was aimed to solve this inconvenience.

The bot's implementation involves creating and storing a user session on the bot's side, posing a security concern regarding potential misuse by the bot owner. While it's reasonable for Telegram to prevent unauthorized user session manipulation by a bot, my implementation addresses this issue. Although not flawless, my solution ensures that only the user can utilize the created session.

TeleBuilder - Telegram bot framework

[ NPM Package ]     [ GitHub Repo ]

In my spare time, I find joy in tinkering with small open source projects, one of which is a straightforward Telegram bot framework called TeleBuilder. This framework is powered by the GramJS library and is written in TypeScript. I've primarily developed it for personal use to implement various bots tailored to my specific needs. However, TeleBuilder also serves as a testing ground for experimenting with new TypeScript features and approaches.

Overcoming CORS Restrictions with a Cloudflare Workers-Based Proxy

Cross-Origin Resource Sharing (CORS) restrictions can be a major obstacle for web developers, preventing them from accessing data from different domains using the Fetch API. However, there is a solution that allows you to bypass these restrictions and simplify your development process - a Cloudflare Workers-based proxy.

Telegram message eraser

[ PyPI Package ]     [ GitHub Repo ]

If you've been using Telegram for a while, you might have noticed that the official Telegram clients lack a simple way to delete all your own messages from a chat or channel with just one click, especially if you don't have admin privileges. Frustrating, right?

That's where TgEraser comes to the rescue. I've implemented an interactive command-line tool that leverages the power of the Telethon library to solve this problem. It's written in Python and available on PyPI, so you can install it with a simple pip install tgeraser command. Short usage instructions are available on the GitHub repository and in the PyPI Package description.

Say goodbye to manually deleting messages one by one; with TgEraser, you can regain control over your chat history with just a few simple commands.

Feel free to contribute, suggest improvements, or report any issues on the GitHub repository. Happy messaging! 🚀

Collection of interview assessments

So... I just collected all the solutions for tech interviews in one place. Sometimes I will add new tasks and solutions in that [repo]({{ site.github.owner_url }}/assessments-for-interviews).