Telegram Web App for tracking calories, physical activity, and mood with FatSecret and WHOOP API integration.
The system allows you to:
- 🎤 Log food via voice messages
- 🍎 Automatically determine calorie content (FatSecret API)
- 💪 Sync workout data from WHOOP
- 📊 Receive daily reports on calorie balance
- 😊 Keep a mood and wellness journal
Telegram Bot → FastAPI (Python) → APIs (FatSecret, WHOOP, OpenAI) → PostgreSQL
health-tracker/
├── app/ # FastAPI Python application
│ ├── routers/ # API route handlers
│ ├── services/ # Business logic
│ ├── main.py # App entrypoint
│ └── scheduler.py # Periodic jobs
├── .github/specs/ # GitHub Spec Kit specifications
├── docs/ # Bilingual documentation (uk/en)
├── database/migrations/ # SQL migrations
├── CLAUDE.md # AI assistant instructions
├── README.md # This file
└── README.uk.md # Ukrainian README
- Python 3.12+
- PostgreSQL 15+
- API keys: Telegram, FatSecret, WHOOP, OpenAI
- Clone the repository
- Create
.envfile with credentials - Run database migrations
- Start the app:
uvicorn app.main:app
| API | Purpose | Documentation |
|---|---|---|
| FatSecret | Food calories | Docs |
| WHOOP | Workout data | Docs |
| OpenAI Whisper | Speech-to-Text | Docs |
| Telegram Bot API | User interface | Docs |
MIT
Created: January 2026