Skip to content

BotBarn documentation

BotBarn hosts Telegram bots. You bring the code, from a Git repository or an archive, and the token from @BotFather. BotBarn builds a container image, starts the bot, restarts it when it crashes and shows you its logs.

Sign in with Telegram, and manage your bots from the BotBarn app in Telegram, @botbarn_app: see Telegram. You can also sign up with email.

Each bot has its own plan, paid in Telegram Stars. A 30-day plan renews automatically every 30 days at the same price until you turn renewal off; other plans are charged once. See Payments and refunds.

Start here

How it works

  1. You create a bot in BotBarn and pay for its plan.
  2. You paste the bot's Telegram token. BotBarn checks it with Telegram and stores it as a secret.
  3. You connect code: a GitHub (or any HTTPS Git) repository, or a .zip / .tar.gz archive.
  4. You press Deploy. BotBarn fetches the code, builds an image with your Containerfile (or generates one for Python), and starts a container with your variables.
  5. The bot runs in its own isolated container with the CPU and memory of its plan. If it crashes, BotBarn restarts it.