All projects

Builder Hub

Ship your Serverless bot from any AI chat.

Telegram Serverless lets a bot run without a server of its own, but publishing it takes a terminal. Builder Hub is the bridge: you (or any AI chat, such as Claude, ChatGPT or Gemini) prepare the project as a ZIP, and the bot checks it, shows you exactly what will change and uploads it to your bot with the official CLI.

It is made for people without a computer, a terminal or an AI agent that can run commands: just Telegram and an AI chat. Its code is public on GitHub.

Telegram bot and public code
Builder Hubbot
mi-bot.zip
Publishing plan
3 new2 changed0 deleted
PublishCancel
Published to your bot

What it does

Validation before anything is uploaded

It checks the project structure, handler names against Telegram's real list, allowed imports, JavaScript syntax and the Mini App. If anything fails, it gives you an English report ready to paste to your AI, with the file, the line and the code around it.

A clear plan before you confirm

You see new, changed and would-be-deleted modules, and the database changes. Safe ones are applied with a safe migration; those that would delete data are listed separately and only applied after your explicit confirmation.

Updates with what's new

Send the new ZIP whenever you want: the bot compares it with what is published, shows the new CHANGELOG entries and asks for confirmation. It recognises which project each ZIP belongs to.

History and rollback

Every published version is kept with its date, changelog and SHA-256. You can go back to the previous one, forward again, restore any version or download its ZIP. If an update fails, one tap takes you back to the version you had.

Fix only what failed

Your AI can return a partial ZIP with just the changed files, and Builder Hub merges it with what is already published. There is also a read-only status report for your bot: modules, handlers, webhook, Mini App and tables.

Safe by design

Users' code never runs on the bot's server. The message with your token is deleted instantly, the token is never logged and only stored, encrypted, if you ask. The container runs unprivileged with a read-only filesystem.

Run your own if you want

All the code is on GitHub: you can read it line by line or deploy your own instance with Docker.

Get going in five minutes

  1. Create your bot and turn on Serverless

    In @BotFather create the bot and, in its settings, turn on Serverless.

  2. Ask your AI for the project

    Give it the prompt from the repository (prompts/build-for-builder-hub.md). It must follow the format in docs/FORMAT.md and give you a ZIP.

  3. Send it to Builder Hub

    Tap “Publish” and send your Serverless access token (BotFather, your bot, Serverless, CLI Access) and the ZIP.

  4. Review the plan

    If there are errors, copy the report to your AI and repeat. If all is well, you see the new, changed and deleted modules.

  5. Confirm and regenerate the token

    Tap “Publish”. Afterwards, regenerate the token in BotFather so the one you shared stops working.

Limits and useful facts

What to keep in mind when using the bot.

Requirementa bot with Telegram Serverless turned on (still in beta and not open to everyone)
Allowed importsonly the Serverless SDK and your own files with a relative path ending in .js; no npm packages
Foreign keysnot supported in the database schema
Simultaneous publicationsbetween 1 and 4; everyone else waits in a queue and sees their position
Unfinished publicationis cancelled and forgotten after 15 minutes
ZIPabsolute paths, “..”, symlinks, encrypted entries, oversized files and ZIP bombs are rejected; node_modules, .git and .env files are ignored
Mini Appmust already be built: the platform doesn't run your build

Getting the most out of it

  • Always regenerate the token when you finish

    You gave it to a third party to publish. Regenerating it in BotFather makes it stop working.

  • Keep a CHANGELOG.md inside the ZIP

    It is where the “what's new” you see when updating comes from, version by version.

  • Use partial ZIPs for small fixes

    With “partial”: true in builderhub.json, the AI only sends the changed files and Builder Hub keeps the rest.

  • Read the plan carefully if anything is deleted

    Modules and database changes that delete data are shown separately because they can't simply be undone.

  • Pair it with the Handbook

    If your AI can run commands, the Telegram Serverless Handbook teaches it to build and ship the bot entirely on its own.

Frequently asked questions

Do I need a computer?

No. Just Telegram and an AI chat. The bot does for you what you would normally do with a terminal.

Is it safe to give it my token?

The message with the token is deleted instantly, never logged and only stored if you ask, encrypted. Even so, regenerate the token in BotFather when you finish.

Does my code run on your server?

Never. It is only validated and uploaded; it runs on Telegram's infrastructure, inside your bot.

What if my project has errors?

It returns a report with the file, the line and the code around it, ready to paste to your AI. It gives you a fixed ZIP, even with just the files that changed.

Can I go back to a previous version?

Yes. Every published version is kept with its SHA-256 and you can restore any of them, after seeing the plan of what would change.

Can I run my own instance?

Yes. The code is on GitHub and deploys with Docker; you only need your own bot's token and your admin ID.

The latest

This section updates itself with the project's release notes.

Version 2.8

New

  • Serverless access notice: a “Don't have Serverless?” button explains how to get it.
Version 2.7

New

  • Status: a read-only report of a published bot.
  • Errors include the file, the line and the code around it.
  • Partial ZIP: keeps the published modules the ZIP doesn't include.
  • “Keep the rest”: if a ZIP would delete modules, the bot offers to treat it as partial.

Everything I launch, in a single channel.

Launches, news and updates for every project. The bots and the channel are part of the same Telegram community.

Join TeleProjects | News