GluCoPilot is a comprehensive, privacy-focused diabetes management platform. It combines real-time CGM data, activity tracking, food logging, and AI-powered insights to help people with diabetes optimize glucose control. The project now supports both a modern native iOS app (SwiftUI) and a React Native app, powered by a FastAPI backend.
cd backend
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # Edit as needed
uvicorn main:app --reload --host 0.0.0.0 --port 8000
cd new-frontend
open Package.swift # Or open in Xcode
# Build and run on device/simulator (iOS 18+ required)
GluCoPilot/
├── backend/ # FastAPI Python backend
├── new-frontend/ # SwiftUI iOS app (iOS 18+)
├── frontend/ # React Native app (legacy)
├── ai/ # Local AI/insights engine
├── docs/ # Documentation
└── scripts/ # Utility/setup scripts
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 new-frontend && open Package.swift
(build/run in
Xcode)cd frontend && npm install && npx react-native run-ios
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
Source | Data Type | Frequency | Format |
---|---|---|---|
Dexcom CGM | Glucose readings | 5-min | JSON |
Apple HealthKit | Heart, steps, sleep, nutrition | Real-time | JSON |
MyFitnessPal | Nutrition | User/Sync | JSON |
Manual Entry | 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