6
4 Comments

Multi App Telegram bot

Hi, IndieHackers.
I'm currently testing my new multi-flow engine for creating bots, which is used in my project MegaPort Bot.

This multi-flow bot engine consists of several processes running in parallel. Each process is relatively simple individually, which makes it easy to scale the bot as the number of users grows. As the load increases, additional instances of the bot can be launched, which any user can easily move to if their current bot starts to slow down for some reason.

For example, if you stop in some menu in the @megaport_bot and then go to the @megaport1_bot and run the /start command, you will continue working in the second bot from the same menu as in the first bot. Of course, you can go back, "restart" and continue working in the first bot. Now numbers 2 and above are reserved, but now there are no bots running on them yet.

The idea of combining multiple apps in one bot came about after I realized that this bot engine structure makes it easy to add and remove apps in a bot. These applications are combined into one bot to simplify the work and support of this project at the initial stage. Any of these applications can be launched as a separate bot if necessary, but for now they will be promoted together.

I'm interested to know the opinion of IndieHackers about this option of promoting a bot, when several applications are combined in one bot.

on March 14, 2024
  1. 2

    Sounds impressive. Trying to paint a picture in my head of the applications. Can you give some example use cases?

    1. 1

      The bot currently contains three different applications:

      1. ✉️ Email client
      2. 🌐 Pseudo-Web-browser
      3. 👫 Dating by Favorite Movies
        I wrote this article on indiehackers website about Email client app.
        I also plan to write articles about the rest of the bot apps here, but if you're interested, you can read about them right now.
Trending on Indie Hackers
7 years in agency, 200+ B2B campaigns, now building Outbound Glow User Avatar 105 comments How I built an AI workflow with preview, approval, and monitoring User Avatar 58 comments The "Book a Demo" Button Was Killing My Pipeline. Here's What I Replaced It With. User Avatar 45 comments I built a desktop app to move files between cloud providers without subscriptions or CLI User Avatar 26 comments Show IH: I built an AI agent that helps founders find the right people User Avatar 24 comments My AI bill was bleeding me dry, so I built a "Smart Meter" for LLMs User Avatar 20 comments