A comprehensive, offline-first diabetes management app combining real-time CGM data, activity tracking, food logging, and AI-powered insights to help Type 1 diabetics optimize glucose control.
For seamless development and debugging, always use the provided script:
./scripts/start_glucopilot.sh
This script: - Sets up and checks your Python/Node environments - Handles backend and frontend dependencies - Configures your local IP for mobile debugging - Starts both backend (FastAPI) and frontend (Expo) servers - Ensures a clean, reproducible dev environment
If you encounter issues, re-run the script to rule out environment/config problems before investigating code bugs.
GluCoPilot/
├── backend/ # Python FastAPI server
├── frontend/ # React Native mobile app
├── ai/ # Local AI models and processing
├── database/ # SQLite schema and migrations
├── docs/ # Documentation
└── scripts/ # Utility and setup scripts
If you must set up manually (not recommended for dev):
git clone https://github.com/EricSpencer00/GluCoPilot.git && cd GluCoPilot
cd backend && python -m venv venv && source venv/bin/activate && pip install -r requirements.txt
cd frontend && npm install
cp backend/.env.example backend/.env
(edit as needed)cd backend && python -m alembic upgrade head
uvicorn main:app --reload --host 0.0.0.0 --port 8000
cd frontend && npx expo start --clear
Source | Data Type | Frequency | Format |
---|---|---|---|
Dexcom CGM | Glucose readings | 5-min | JSON |
Apple HealthKit | Heart, steps, sleep | Real-time | JSON |
Google Fit | Activity, steps | Real-time | JSON |
MyFitnessPal | Nutrition | User/Sync | JSON |
Food/Insulin/Activity/Sleep/Mood/Med/Illness/Menstrual | User/Sync | JSON | |
Reddit r/T1D | Community tips | Daily | JSON |
See Contributing Guide for details.
MIT License - see LICENSE
Open an issue or contact the dev team.
Built with ❤️ for the Type 1 Diabetes community