selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GlycemicGPT logo

Self-host GlycemicGPT

v0.15.0

Open-source diabetes platform with AI-powered analysis

AlphaOpen SourceGPL-3.0
Updatedlast week
LanguagePython
Setup difficultyAdvanced
MobileNative app
Stars
142
Ports
3000 (Web UI (Next.js frontend)), 8000 (API (FastAPI backend)), 3456 (AI Sidecar (internal, not published to host))
Requires
PostgreSQL, Redis
Install with Docker Compose

What is GlycemicGPT?

GlycemicGPT (also called Lumose) is an open-source diabetes management platform that connects directly to continuous glucose monitors and insulin pumps. It provides real-time glucose tracking, AI-generated daily summaries and pattern detection, a conversational AI assistant with diabetes knowledge, and configurable caregiver alerts delivered via Telegram, push notifications, and in-app messages. Supported devices include Dexcom G7 (cloud API), Tandem t:slim X2 and Mobi (Bluetooth LE), Medtronic MiniMed 680G/770G/780G (Bluetooth LE and CareLink cloud), and NovoPen 6/Echo Plus (via Glooko). The platform can also import data from an existing Nightscout installation. The software runs as a self-hosted Docker stack — either Docker Compose or Kubernetes — comprising a Next.js web dashboard, a FastAPI backend, PostgreSQL database, Redis cache, and an AI sidecar that proxies requests to multiple AI providers (local models like Ollama or cloud APIs). Native Android and Wear OS apps provide mobile access with watch face complications. The project is licensed under GPL-3.0 and is in alpha stage.

Should you self-host GlycemicGPT?

GlycemicGPT scores 42/100 on selfhost.directory (how scoring works) and ranks #21 of 31 in Health & Fitness. It has 142 GitHub stars.

It shipped 9 stable releases in the past year. The latest, v0.15.0, came out on 18 August 2026. New versions land roughly every 2 days.

Setup is advanced: plan for several services and some ongoing maintenance. It is GPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is wger (73/100, 7 201 stars). It scores higher overall, so compare the two before you pick. See GlycemicGPT vs wger side by side.

Features

  • AI-powered daily briefs and pattern recognition
  • Android app with Wear OS companionMobile apps live in separate android-unofficial repository
  • BLE pump connectivityMedtronic support is unverified against physical hardware
  • BYOAI architecture
  • Caregiver alerts with escalation
  • Conversational AI chat
  • Dexcom G7 cloud API support
  • Nightscout integration
  • Plugin architecture for device driversMobile plugin SDK lives in android-unofficial repository
  • Printable Reports
  • Real-time glucose monitoring
  • Safety-first design
  • Self-hosted Docker/Kubernetes deployment
  • Tandem t:slim X2 BLE support
  • Up to 10 years data storage

GlycemicGPT README

How to install GlycemicGPT

Install GlycemicGPT with Docker Compose

Docker and Docker Compose

git clone https://github.com/lumose-health/GlycemicGPT.git cd GlycemicGPT cp .env.example .env docker compose up --build -d

Full stack with web UI, API, AI sidecar, PostgreSQL, Redis

How to configure GlycemicGPT

  • AI_PROVIDERclaudeAI provider (claude or openai)

    AI provider (claude or openai)

    values: claude or openai

  • ANTHROPIC_API_KEYAnthropic API key for Claude

    Anthropic API key for Claude

  • API_PORT8000API port (optional)

    API port (optional)

  • API_URLhttp://api:8000API URL for the web container to reach the backend (internal network)

    API URL for the web container to reach the backend (internal network)

  • BACKUP_RETENTION_DAYS30Backup retention in days

    Backup retention in days

  • BACKUP_SCHEDULE0 2 * * *Backup cron schedule

    Backup cron schedule

  • DB_BIND_HOST127.0.0.1Host bind address for dev Postgres port (default 127.0.0.1)

    Host bind address for dev Postgres port (default 127.0.0.1)

  • ENCRYPTION_KEYOptional separate key for credential encryption (falls back to SECRET_KEY)

    Optional separate key for credential encryption (falls back to SECRET_KEY)

  • IMAGE_TAGlatestImage version to deploy (default: latest)

    Image version to deploy (default: latest)

  • LOG_FORMATjsonLogging format (json or text)

    Logging format (json or text)

    values: json or text

  • OPENAI_API_KEYOpenAI API key

    OpenAI API key

  • POSTGRES_DBglycemicgptPostgreSQL database name

    PostgreSQL database name

  • POSTGRES_PASSWORDglycemicgptPostgreSQL password

    PostgreSQL password

  • POSTGRES_USERglycemicgptPostgreSQL username

    PostgreSQL username

  • REDIS_BIND_HOST127.0.0.1Host bind address for dev Redis port (default 127.0.0.1)

    Host bind address for dev Redis port (default 127.0.0.1)

  • REDIS_PASSWORDRedis password (optional for dev, recommended for prod)

    Redis password (optional for dev, recommended for prod)

  • REDIS_URLredis://redis:6379/0Redis connection URL

    Redis connection URL

  • SECRET_KEYchange-me-in-production-use-openssl-rand-hex-32Security secret key (generate with: openssl rand -hex 32)

    Security secret key (generate with: openssl rand -hex 32)

  • SESSION_EXPIRE_HOURS24Session expiration in hours

    Session expiration in hours

  • SIDECAR_API_KEYAI sidecar auth — shared bearer key between the API and the sidecar

    AI sidecar auth — shared bearer key between the API and the sidecar

  • TELEGRAM_BOT_TOKENTelegram bot token for notifications

    Telegram bot token for notifications

  • WEB_PORT3000Web port (optional)

    Web port (optional)

GlycemicGPT releases & version history

More in Health & Fitness

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…