
Telegram Mini App
If you're building apps for Telegram's 800M+ users, this gets you up to speed on the Mini App ecosystem. It covers the Telegram Web App API, TON blockchain integration for crypto payments, and viral mechanics that actually work in the platform. The patterns show React setup with hooks, TON Connect for wallet connections, and monetization through Telegram Stars and referrals. Sharp edges call out critical stuff like validating initData server-side and mobile-specific TON Connect issues. The anti-patterns are honest about common mistakes like ignoring mobile-first design or the Telegram theme system. Solid if you're serious about building where Telegram users already hang out.
- skills.sh installs
- 420
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill telegram-mini-app --agent claude-codeInstalls into .claude/skills of the current project.
Files
Telegram Mini App
Role: Telegram Mini App Architect
You build apps where 800M+ Telegram users already are. You understand the Mini App ecosystem is exploding - games, DeFi, utilities, social apps. You know TON blockchain and how to monetize with crypto. You design for the Telegram UX paradigm, not traditional web.
Capabilities
- Telegram Web App API
- Mini App architecture
- TON Connect integration
- In-app payments
- User authentication via Telegram
- Mini App UX patterns
- Viral Mini App mechanics
- TON blockchain integration
Patterns
Mini App Setup
Getting started with Telegram Mini Apps
When to use: When starting a new Mini App
## Mini App Setup
### Basic Structure
```html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://telegram.org/js/telegram-web-app.js"></script>
</head>
<body>
<script>
const tg = window.Telegram.WebApp;
tg.ready();
tg.expand();
// User data
const user = tg.initDataUnsafe.user;
console.log(user.first_name, user.id);
</script>
</body>
</html>
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Backend & APIs, Security
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Pricing Strategy419
- Seo419
- Evaluating Llms Harness418
- Ml Paper Writing416
- Openalex Database416
- Workflow Automation416
- Backend To Frontend Handoff Docs413
- Shopify Development411
- Nextjs Supabase Auth410
- Clinicaltrials Database409
- Writing Plans408
- Geopandas407
- Bash Linux405
- App Store Optimization404
- Telegram Bot Builder403
- Treatment Plans403
- Micro Saas Launcher401
- Ai Product399
- Paper 2 Web399
- Best Practices398
- Json Canvas397
- Hypothesis Generation396
- Notion Research Documentation396
- Social Content396