TMA.sh
Telegram Release Control

Telegram bots, mini apps, and APIs in one release flow

Connect GitHub and ship Telegram products with preview links, synchronized releases, and instant rollback.

Bot + app + API versioned together

Preview before production

Rollback to any release in seconds

Telegram release candidate #2184

Preview ready

Mini app frontend

Preview URL generated

Bot commands

Telegram command set synced

API + D1 migrations

Routes deployed, SQL applied

Target bot: @your_bot • Environment: preview

What Is TMA.sh

Control and version your Telegram products

Manage app, bot, and backend changes from one Git-driven workflow so every release is reviewable, traceable, and reversible.

App releases
Ship UI updates with preview links before going live, then release globally with one click.
Bot changes
Version command and workflow updates together with the app so user journeys stay consistent.
API updates
Release auth, payments, and backend logic in the same lifecycle with rollback support when needed.
Project Structureauto-detected
📁my-tma-app/
📁src/
📄App.tsx
📄main.tsx
📁bot/Bot handler
📄index.ts
📁server/API routes
📄index.ts
📄package.json
📄index.html
Vite project detected
Bot handler found at bot/index.ts
API routes found at server/index.ts

Built on battle-tested infrastructure

Cloudflare
Telegram
Vite
Astro
Hono
TypeScript
Drizzle
Effect
Release Control

One release pipeline for apps, bots, and APIs

Track every change from commit to production with preview links, promotion gates, and instant rollback points.

Operate Telegram products with confidence

Every deployment gets a release ID, environment context, and audit trail so your team always knows what is live.

Learn More
$git push tma main
Pushing to TMA Edge...
Resolving deltas: 100% (1234/1234), done.
Analyzing codebase...
Deploying to Global Network...
✓ Webhook triggered successfully

Connect your GitHub repository

Each commit creates a versioned release candidate with a preview environment your team can review before promotion.

// Manually verify HMAC-SHA256 signature
- const secret = createHmac('sha256', 'WebAppData').update(botToken).digest();
- const hash = computeHash(initData, secret);
- if (hash !== received) throw new Error('Unauthorized');
- const user = parseInitData(initData);
- const jwt = signJwt(user, process.env.JWT_SECRET);
import { createTMA } from '@tma.sh/sdk';
import { retrieveLaunchParams } from '@telegram-apps/sdk';
const tma = createTMA();
const { initData } = retrieveLaunchParams();
// All of the above — in one call
+ const { jwt, user } = await tma.auth.validate(initData, projectId);
console.log(user.firstName); // 'Pavel'

One-line Telegram initData validation — HMAC, JWT signing, and user parsing included.

@tma.sh/sdk

Promote or rollback in seconds

Move approved releases to production instantly or rollback to a known-good version when issues appear.

One release ID. Three runtimes.

Your app UI, bot workflows, and APIs stay in sync across preview, staging, and production.

Learn More
App UITelegram web app
Bot LogicWebhook handlers
API RoutesServerless backend

Synchronized releases

Ship app, bot, and backend changes together so users never see mismatched versions.

Preview every change

Validate behavior in preview environments before promotion, then release with full visibility into what changed.

Managed D1 SQL

Production-ready D1 database included

Pro and Team projects can run a managed SQLite database on Cloudflare D1 with migration-driven deploys and environment isolation.

Managed SQL without ops work

Use migrations in your repository and let TMA.sh handle D1 provisioning per project and environment.

db/migrations/0007_add_orders.sql

CREATE TABLE orders (...);

Applying migrations to preview database... 2/2 complete

Migration-driven provisioning

Commit SQL migrations and TMA.sh provisions or updates D1 during deploy automatically.

Preview and production isolation

Validate schema and query changes in preview before promoting to production.

No DB operations overhead

No manual provisioning or connection plumbing. Monitor limits and usage from one dashboard.

Operations

From release chaos to release control.

TMA.sh gives you release visibility, rollback safety, and operational guardrails while running globally on the edge.

Built for fast-moving Telegram teams

Whether you ship daily or hourly, keep every app, bot, and API release versioned, observable, and recoverable.

Learn More

Instant rollback points

Every release is tracked as a recoverable snapshot so you can revert quickly when regressions surface.

Environment-aware previews

Compare preview, staging, and production behavior before promotion to reduce risky launches.

Release Flow

Commit. Review. Promote.

Go from code change to production release with full visibility and rollback safety.

$ git push origin main

Connect your Repository

Link your GitHub repo and generate a versioned release candidate for every meaningful change.

$ git push origin main

Review preview release

Share preview links with your team to validate app, bot, and API behavior before promotion.

$ git push origin main

Promote with rollback safety

Promote approved releases to production instantly, with rollback to previous versions when needed.

Teams

Why teams switch to TMA.sh

Product and engineering teams use TMA.sh to release faster without losing control.

Before TMA.sh, app and bot releases drifted. Now we ship them as one version and rollback safely when needed.

Growth Team, Commerce Bot

Growth Team, Commerce Bot

Release ownership

Preview links on every meaningful change let PM and QA approve the exact release before promotion.

Consumer App Team

Consumer App Team

Preview workflow

One workflow for app UI, bot commands, and API routes replaced custom scripts and manual deployment steps.

Developer Platform Team

Developer Platform Team

Operational simplicity

Auth, payments, and webhook changes are tested together, so checkout flows stop breaking after partial deploys.

Payments Bot Team

Payments Bot Team

Reliability

Before TMA.sh, app and bot releases drifted. Now we ship them as one version and rollback safely when needed.

Growth Team, Commerce Bot

Growth Team, Commerce Bot

Release ownership

Preview links on every meaningful change let PM and QA approve the exact release before promotion.

Consumer App Team

Consumer App Team

Preview workflow

One workflow for app UI, bot commands, and API routes replaced custom scripts and manual deployment steps.

Developer Platform Team

Developer Platform Team

Operational simplicity

Auth, payments, and webhook changes are tested together, so checkout flows stop breaking after partial deploys.

Payments Bot Team

Payments Bot Team

Reliability

Before TMA.sh, app and bot releases drifted. Now we ship them as one version and rollback safely when needed.

Growth Team, Commerce Bot

Growth Team, Commerce Bot

Release ownership

Preview links on every meaningful change let PM and QA approve the exact release before promotion.

Consumer App Team

Consumer App Team

Preview workflow

One workflow for app UI, bot commands, and API routes replaced custom scripts and manual deployment steps.

Developer Platform Team

Developer Platform Team

Operational simplicity

Auth, payments, and webhook changes are tested together, so checkout flows stop breaking after partial deploys.

Payments Bot Team

Payments Bot Team

Reliability

Before TMA.sh, app and bot releases drifted. Now we ship them as one version and rollback safely when needed.

Growth Team, Commerce Bot

Growth Team, Commerce Bot

Release ownership

Preview links on every meaningful change let PM and QA approve the exact release before promotion.

Consumer App Team

Consumer App Team

Preview workflow

One workflow for app UI, bot commands, and API routes replaced custom scripts and manual deployment steps.

Developer Platform Team

Developer Platform Team

Operational simplicity

Auth, payments, and webhook changes are tested together, so checkout flows stop breaking after partial deploys.

Payments Bot Team

Payments Bot Team

Reliability

Release history makes it clear what changed and when, which shortens debugging during production incidents.

Support Automation Team

Support Automation Team

Faster incident response

Promotion gates and rollback points gave non-infra engineers confidence to ship more frequently.

Product Engineering Team

Product Engineering Team

Lower release risk

We keep app response times low on edge infrastructure while still controlling releases through one pipeline.

Marketplace Bot Team

Marketplace Bot Team

Global performance

Every deployment is traceable, which made internal change reviews and compliance checks straightforward.

Internal Tools Team

Internal Tools Team

Auditability

Release history makes it clear what changed and when, which shortens debugging during production incidents.

Support Automation Team

Support Automation Team

Faster incident response

Promotion gates and rollback points gave non-infra engineers confidence to ship more frequently.

Product Engineering Team

Product Engineering Team

Lower release risk

We keep app response times low on edge infrastructure while still controlling releases through one pipeline.

Marketplace Bot Team

Marketplace Bot Team

Global performance

Every deployment is traceable, which made internal change reviews and compliance checks straightforward.

Internal Tools Team

Internal Tools Team

Auditability

Release history makes it clear what changed and when, which shortens debugging during production incidents.

Support Automation Team

Support Automation Team

Faster incident response

Promotion gates and rollback points gave non-infra engineers confidence to ship more frequently.

Product Engineering Team

Product Engineering Team

Lower release risk

We keep app response times low on edge infrastructure while still controlling releases through one pipeline.

Marketplace Bot Team

Marketplace Bot Team

Global performance

Every deployment is traceable, which made internal change reviews and compliance checks straightforward.

Internal Tools Team

Internal Tools Team

Auditability

Release history makes it clear what changed and when, which shortens debugging during production incidents.

Support Automation Team

Support Automation Team

Faster incident response

Promotion gates and rollback points gave non-infra engineers confidence to ship more frequently.

Product Engineering Team

Product Engineering Team

Lower release risk

We keep app response times low on edge infrastructure while still controlling releases through one pipeline.

Marketplace Bot Team

Marketplace Bot Team

Global performance

Every deployment is traceable, which made internal change reviews and compliance checks straightforward.

Internal Tools Team

Internal Tools Team

Auditability

Simple pricing for release control

Start free, ship real releases, and upgrade when your team needs more environments, volume, and controls.

ProPopular

$19/month

For growing teams shipping Telegram bots and apps.

Upgrade to Pro

Everything in Hobby +

  • 1 project
  • 150 builds/month
  • 20M requests/month
  • 5 campaigns
  • Analytics dashboard
  • KV browser
  • Managed D1 database (500 MB)
  • 5M row reads/day
  • 100K row writes/day
  • Priority support

Enterprise

$99/month

For teams running multiple products and environments.

Contact Sales

Everything in Pro +

  • 5 projects
  • 500 builds/month
  • 100M requests/month
  • 100 campaigns
  • Analytics dashboard
  • KV browser
  • Managed D1 database (2 GB per project)
  • 25M row reads/day
  • 500K row writes/day
  • Team members
  • Dedicated support

Hobby

$0/month

Perfect for side projects and learning.

Start Free

Get Started today:

  • 1 project
  • 15 builds/month
  • 1M requests/month
  • Custom domains
  • Automated deployments
  • DDoS protection
  • Global Edge Network
  • API routes via Workers

Frequently Asked Questions

Answers about versioning, releasing, and operating Telegram apps, bots, and APIs with TMA.sh.

Take control of your next Telegram release

Unify app, bot, and API changes in one release workflow with previews, history, and rollback safety built in.