iAlexeyRu / miband-bot
PublicTelegram-бот для Xiaomi Fitness / Mi Band. Автономный импорт, SQLite и экспорт. | Self-hosted Mi Band health tracker bot.
miband-bot is a personal privacy-focused tool that creates your own Telegram bot to automatically fetch and store your Xiaomi Fitness and Mi Band health data (steps, sleep, heart rate, blood oxygen) on your own computer. Instead of relying on Xiaomi's app or cloud services, you get a simple dashboard in Telegram where you can view your daily stats, browse historical calendars, see trends over weeks or months, and export your data anytime. The bot runs quietly in the background, syncing every 15 minutes, and everything stays under your control—no third parties involved.
How It Works
A friend tells you about a bot that keeps your fitness data on your own computer instead of in the cloud.
You message @BotFather in Telegram to create a new bot, and copy the secret key it gives you.
You run a simple installer that sets everything up automatically using Docker or Python.
The bot shows you a QR code that you scan with your Xiaomi Fitness app to securely link your account.
The bot quietly fetches your steps, sleep, heart rate, and blood oxygen every 15 minutes in the background.
See your activity and sleep history day by day with color-coded indicators.
Check your weekly or monthly averages for steps, sleep quality, and heart rate.
Everything stays on your own computer, and you can export it anytime as a spreadsheet—no one else can see it.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.