TMA.sh
The Edge Network for Telegram Apps

Deploy Telegram Mini Apps in seconds

Push your code, we handle the build pipeline, edge hosting, BotFather webhooks, and preview environments. Zero config, global CDN, instant deploys.

Start for free
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
Deployments

Your infrastructure automated

TMA.sh builds, hosts, and scales your applications instantly so you can focus on building features, not fighting servers.

Ship faster with @tma.sh/sdk

Our TypeScript SDK handles Telegram auth, per-user KV storage, and authed fetch — zero boilerplate, zero config.

$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

Seamlessly integrate with GitHub. We automatically build and deploy new commits to your main branch or previews for PRs.

// 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

Server, bot, and Mini App — one repo

Define your API routes in server/index.ts and bot commands in bot/index.ts. TMA.sh deploys both together and syncs your commands with BotFather automatically.

Deploy everything together. Scale independently.

Your frontend, bot logic, and API routes deploy as one unit. Each component scales on the edge automatically.

Learn More
Mini App UIFrontend interface
Bot LogicWebhook handlers
API RoutesServerless backend

All-in-one Platform

Deploy your frontend Mini App, Telegram Bot logic, and backend API routes together. Everything lives in one place.

Preview every pull request

Every PR gets a unique preview URL with its own Telegram bot instance. Review changes in the real Telegram environment before merging.

Global

Stop fighting Telegram integration. Start shipping features.

We handle the BotFather webhooks, the global edge network, routing, deployments, and all the complicated CI/CD so you don't have to.

Built for teams scaling fast

From solo developers to large engineering teams. Built for applications that need to ship fast and stay lean.

Serverless at the edge

Your application is automatically distributed globally via Cloudflare Workers to reduce latency and provide sub-millisecond response times.

Framework auto-detection

Natively supports Vite, Astro, and plain HTML projects with zero configuration. Push your code and we handle the rest.

Workflow

Push. Build. Deploy.

Go from git push to live Telegram Mini App in under 60 seconds

$ git push origin main

Connect your Repository

Link your GitHub repo. TMA.sh auto-detects your framework — Vite, Astro, or plain HTML — and configures the build pipeline.

$ git push origin main

Automatic Build Pipeline

Every push triggers a build. PRs get instant preview URLs. Your team reviews changes live inside Telegram before merging.

$ git push origin main

Live on the Edge

Your Mini App deploys to our global edge network and auto-configures with BotFather. Custom domains and SSL included.

Developers

Hear from our shipping developers

Developers choose TMA.sh to host their Telegram applications. See how teams accelerate their go-to-market.

The automated edge deployments have given us vital peace of mind. Launching our Mini Apps is now more accurate and faster than ever. A game-changer for small teams.

Alex R.

Alex R.

Startup Founder

Preview deployments for every PR drastically improved our review stages. We finally have a hosting platform that makes sense for Telegram apps.

Samantha L.

Samantha L.

DevOps Engineer

As a solo developer, I need to move fast. Zero-config deployment means I just push code and it goes live. No servers to manage, no DevOps headaches.

Raj P.

Raj P.

Indie Developer

The seamless Telegram auth setup made integrating our Mini App a breeze. I can see Stars payment data right in the dashboard without extra instrumentation.

Emily C.

Emily C.

Product Manager

The automated edge deployments have given us vital peace of mind. Launching our Mini Apps is now more accurate and faster than ever. A game-changer for small teams.

Alex R.

Alex R.

Startup Founder

Preview deployments for every PR drastically improved our review stages. We finally have a hosting platform that makes sense for Telegram apps.

Samantha L.

Samantha L.

DevOps Engineer

As a solo developer, I need to move fast. Zero-config deployment means I just push code and it goes live. No servers to manage, no DevOps headaches.

Raj P.

Raj P.

Indie Developer

The seamless Telegram auth setup made integrating our Mini App a breeze. I can see Stars payment data right in the dashboard without extra instrumentation.

Emily C.

Emily C.

Product Manager

The automated edge deployments have given us vital peace of mind. Launching our Mini Apps is now more accurate and faster than ever. A game-changer for small teams.

Alex R.

Alex R.

Startup Founder

Preview deployments for every PR drastically improved our review stages. We finally have a hosting platform that makes sense for Telegram apps.

Samantha L.

Samantha L.

DevOps Engineer

As a solo developer, I need to move fast. Zero-config deployment means I just push code and it goes live. No servers to manage, no DevOps headaches.

Raj P.

Raj P.

Indie Developer

The seamless Telegram auth setup made integrating our Mini App a breeze. I can see Stars payment data right in the dashboard without extra instrumentation.

Emily C.

Emily C.

Product Manager

The automated edge deployments have given us vital peace of mind. Launching our Mini Apps is now more accurate and faster than ever. A game-changer for small teams.

Alex R.

Alex R.

Startup Founder

Preview deployments for every PR drastically improved our review stages. We finally have a hosting platform that makes sense for Telegram apps.

Samantha L.

Samantha L.

DevOps Engineer

As a solo developer, I need to move fast. Zero-config deployment means I just push code and it goes live. No servers to manage, no DevOps headaches.

Raj P.

Raj P.

Indie Developer

The seamless Telegram auth setup made integrating our Mini App a breeze. I can see Stars payment data right in the dashboard without extra instrumentation.

Emily C.

Emily C.

Product Manager

Edge caching for our API responses reduced latency by over 80%. Crucial when users are opening your app instantly from inside a Telegram chat.

Michael B.

Michael B.

Full Stack Engineer

The deployment pipelines have drastically reduced our operational costs. We completely eliminated our manual server management overhead.

Linda W.

Linda W.

Engineering Lead

Telegram initData verification happens server-side automatically. No more worrying about auth security when deploying bots.

Carlos G.

Carlos G.

Backend Developer

The built-in analytics tracking just works out of the box. It started pulling in metrics from our Telegram bot traffic instantly. No extra code needed.

Aisha K.

Aisha K.

Full Stack Developer

Edge caching for our API responses reduced latency by over 80%. Crucial when users are opening your app instantly from inside a Telegram chat.

Michael B.

Michael B.

Full Stack Engineer

The deployment pipelines have drastically reduced our operational costs. We completely eliminated our manual server management overhead.

Linda W.

Linda W.

Engineering Lead

Telegram initData verification happens server-side automatically. No more worrying about auth security when deploying bots.

Carlos G.

Carlos G.

Backend Developer

The built-in analytics tracking just works out of the box. It started pulling in metrics from our Telegram bot traffic instantly. No extra code needed.

Aisha K.

Aisha K.

Full Stack Developer

Edge caching for our API responses reduced latency by over 80%. Crucial when users are opening your app instantly from inside a Telegram chat.

Michael B.

Michael B.

Full Stack Engineer

The deployment pipelines have drastically reduced our operational costs. We completely eliminated our manual server management overhead.

Linda W.

Linda W.

Engineering Lead

Telegram initData verification happens server-side automatically. No more worrying about auth security when deploying bots.

Carlos G.

Carlos G.

Backend Developer

The built-in analytics tracking just works out of the box. It started pulling in metrics from our Telegram bot traffic instantly. No extra code needed.

Aisha K.

Aisha K.

Full Stack Developer

Edge caching for our API responses reduced latency by over 80%. Crucial when users are opening your app instantly from inside a Telegram chat.

Michael B.

Michael B.

Full Stack Engineer

The deployment pipelines have drastically reduced our operational costs. We completely eliminated our manual server management overhead.

Linda W.

Linda W.

Engineering Lead

Telegram initData verification happens server-side automatically. No more worrying about auth security when deploying bots.

Carlos G.

Carlos G.

Backend Developer

The built-in analytics tracking just works out of the box. It started pulling in metrics from our Telegram bot traffic instantly. No extra code needed.

Aisha K.

Aisha K.

Full Stack Developer

Build more. Pay less. Scale smart.

Try free for 14 days with full access to all features. Upgrade only when TMA.sh proves value.

ProPopular

$20/month

Ideal for growing Telegram Mini Apps and startups.

Upgrade to Pro

Everything in Hobby +

  • Unlimited custom domains
  • 20 Team members
  • Unlimited preview deployments
  • Advanced analytics dashboard
  • Telegram Stars payment tracking
  • Priority support

Enterprise

Custom/month

For teams requiring enterprise security and isolation.

Contact Sales

Everything in Pro +

  • SSO authentication
  • Dedicated success manager
  • Self-hosted deployment option
  • Custom SLA agreements
  • Unlimited KV storage

Hobby

$0/month

Perfect for side projects and learning.

Start Free

Get Started today:

  • Custom domains
  • Automated deployments
  • DDoS protection
  • Global Edge Network
  • API routes via Workers

Frequently Asked Questions

Answers to common queries about building and hosting your Telegram Apps using TMA.sh.

Ship your next Telegram Mini App 10x faster

Stop fighting DevOps and server configuration. We handle the infrastructure. Start shipping your product.