Mini App Todo List untuk Telegram bot 📝
- ✅ Tambah / centang / hapus todo
- 🎨 Tema otomatis mengikuti Telegram (light/dark)
- 💾 Data tersimpan di localStorage
- 📱 Responsive untuk mobile
- 🎯 Haptic feedback
- 🔄 Filter: Semua / Aktif / Selesai
todo-app/
├── index.html ← Halaman utama mini app
├── style.css ← Styling (auto-theme dari Telegram)
├── app.js ← Logic todo + Telegram SDK
└── bot.py ← Bot Telegram (Python)
Upload folder ini (index.html, style.css, app.js) ke:
- Vercel →
npx vercel - Netlify → drag & drop folder
- GitHub Pages → push ke repo, aktifkan Pages
⚠️ Domain wajib HTTPS!
# Install dependency
pip install python-telegram-bot
# Edit bot.py — masukkan token & URL
# BOT_TOKEN = "token dari @BotFather"
# MINI_APP_URL = "https://url-deploy-kamu.com"
# Jalankan bot
python bot.py- Buka @BotFather
/newbot→ buat bot baru/myapps→ Create New App- Masukkan URL web app yang sudah di-deploy
- Selesai! Bot otomatis punya tombol Mini App
- Buka @BotFather di Telegram
- Kirim
/newbot - Ikuti instruksi, beri nama bot
- Copy token yang diberikan