Get custom meal plans from daily weight metrics from smart scales to hit health goals β powered by Gemini LLM + Python.
This project connects to your smart scale (Withings Brand), pulls in daily weight measurements, and feeds them into Googleβs Gemini LLM with a dynamic, goal-oriented prompt. Each day, it generates:
- π½ Meal Plan β tailored to your current weight & target weight
- π Activity Plan β realistic exercise suggestions
- Python π β data fetching, processing, and prompt orchestration
- Gemini LLM π€ β intelligent meal & activity plan generation
- Google Sheets API β easy data handling
β Automated Data Fetching β Pulls weight data from your smart scale daily β Dynamic Goal Prompts β Customizes AI prompts based on your current weight & target weight β LLM-Powered Planning β Uses Gemini to generate detailed, realistic daily plans β Easy to Extend β Works with any smart scale API, or manually input data β Open Source & Hackable β Perfect starting point for personal health automation
Edit your .env file to include:
GEMINI_API_KEY=your_api_key_here
GOOGLE_SHEET_ID=Key for accessing Google Sheet with dataPull requests are welcome! Got ideas for improving prompts, meal plans, or integrations? Fork the repo, open an issue, or submit a PR.
MIT β free to use, modify, and share.

