Home
Open Source Diabetes Projects
32 projects

32 open-source projects · 11,286+ combined GitHub stars. From DIY artificial pancreas systems used by real patients, to AI/ML research tools. All MIT or open licensed. All free.

CGM & Monitoring

Nightscout CGM Remote Monitor

nightscout/cgm-remote-monitor

The gold standard open-source CGM remote monitoring platform. Allows caregivers and patients to view real-time glucose data from any CGM device anywhere in the world via a web browser. Powers the #WeAreNotWaiting diabetes community.

2,2001400
JavaScript
CGMreal-timenightscout
Artificial Pancreas

Trio — Automated Insulin Delivery (iOS)

nightscout/Trio

A fully open-source automated insulin delivery (AID) system for iOS, based on the OpenAPS algorithm. Used by thousands of Type 1 diabetics globally as a DIY closed-loop artificial pancreas.

950310
Swift
AIDclosed-loopiOS
Artificial Pancreas

OpenAPS — Open Artificial Pancreas System

openaps/docs

The complete documentation for OpenAPS, the pioneering DIY open-source artificial pancreas project started by Dana Lewis. Algorithms and tools that form the backbone of Trio, Loop, and other AID systems.

236714
Makefile / Docs
artificial pancreasDIYclosed-loop
CGM & Monitoring

Nightscout LibreLinkUp Bridge

timoschlueter/nightscout-librelink-up

TypeScript script that bridges FreeStyle Libre CGM readings from the LibreLinkUp app directly into Nightscout — enabling remote monitoring for Libre users worldwide.

28795
TypeScript
FreeStyle LibreLibreLinkNightscout
Research & AI

SimGlucose — Type 1 Diabetes Simulator

jxx123/simglucose

A Python-based Type 1 Diabetes simulator (Padova/UVa T1D simulator) compatible with OpenAI Gym. Used by researchers to train and test reinforcement learning agents for artificial pancreas controllers.

343145
Python
simulationreinforcement learningAI
Research & AI

Glucose360 — CGM Data Analysis Platform

vurhd2/Glucose360

Open-source Python package and web app for comprehensive CGM data analysis. Calculates glycemic variability metrics, time-in-range, and event-based analysis (meals, exercise). Published in a peer-reviewed paper.

12028
Python
CGMdata analysisPython
Research & AI

GlucoBench — CGM Dataset & Prediction Benchmarks

IrinaStatsLab/GlucoBench

Official implementation of the 'GlucoBench' paper — a curated collection of real-world CGM datasets with glucose prediction benchmarks for deep learning researchers.

3818
Jupyter Notebook
deep learningCGMdatasets
Research & AI

cgmquantify — Glucose Variability Metrics

DigitalBiomarkerDiscoveryPipeline/cgmquantify

Python library that calculates 25+ clinical glucose variability metrics from CGM data, as defined in published clinical literature. Includes visualisation tools.

2214
Python
metricsvariabilityCGM
Mobile Apps

Diaguard — Android Diabetes Diary

Faltenreich/Diaguard

A fully open-source Android app for diabetics to log blood glucose, HbA1c, insulin, carbs, and activities. Clean, privacy-first, with charts and export. Available on F-Droid.

580190
Java / Kotlin
Androidlogbookopen source
Mobile Apps

Glucosio Android

Glucosio/glucosio-android

Open-source Android app for blood glucose tracking and diabetes management. Supports A1C calculation, data export, and research data anonymisation.

430165
Java
Androidglucose trackingA1C
AI & LLM

GlycemicGPT — AI Diabetes Assistant

lumose-health/GlycemicGPT

"Because no one should manage diabetes alone" — An open-source LLM-powered assistant for diabetes management, combining glucose data with AI guidance for personalised insights.

31052
Python
AILLMGPT
CGM & Monitoring

DexMate — Open-Source Dexcom Desktop App

rpimaster/DexMate

Free and open-source desktop app for Dexcom CGM users with real-time notifications, trend arrows, and Nightscout integration. Works with Dexcom G6 and G7.

8522
HTML / JavaScript
Dexcomdesktopnotifications
CGM & Monitoring

LibreView Home Assistant Integration

PTST/LibreView-HomeAssistant

Integrate your FreeStyle Libre CGM sensor data directly into Home Assistant for custom dashboards, automations, and alerts.

3812
Python
FreeStyle LibreHome Assistantautomation
Insulin Pumps

pumpX2 — Tandem Insulin Pump Bluetooth Library

jwoglom/pumpX2

Reverse-engineered Java library implementing the Bluetooth protocol for Tandem t:slim X2 and Mobi insulin pumps — enabling custom integrations and data access.

14045
Java
insulin pumpTandemBluetooth
Insulin Pumps

OmniCore — Control Omnipod from Android

winemug/OmniCore

Open-source Android app to control the Insulet Omnipod insulin pump directly from your phone — with looping capabilities and Nightscout integration.

620230
C#
OmnipodAndroidclosed-loop
Research & AI

Blood Glucose Prediction (LSTM / Deep Learning)

johnmartinsson/blood-glucose-prediction

Research implementation of blood glucose prediction using Long Short-Term Memory (LSTM) recurrent neural networks on real CGM data.

280130
Python
LSTMdeep learningprediction
Research & AI

RL Insulin Pump — Reinforcement Learning Controller

Blood-Glucose-Control/rl-insulin-pump

Reinforcement learning agents for automated insulin dosing in the simglucose/Padova T1D simulator. Research-grade closed-loop control for artificial pancreas.

9538
Python
reinforcement learninginsulinartificial pancreas
Mobile Apps

DaBetai — AI-Powered Diabetes Mobile App

dabetai-org/mobile-app

Cross-platform React Native / Expo mobile app for diabetes patients to monitor glucose, log habits, and receive AI-powered complication risk alerts.

6718
TypeScript (React Native)
React NativemobileAI
Tools & Utilities

Blood Sugar & A1C Calculator (Web Tool)

ChiefInnovator/bloodsugarcalculator

Free web-based tool for converting A1C to estimated Average Glucose (eAG) and vice versa, with personalised health tips.

4520
JavaScript
A1CcalculatoreAG
Mobile Apps

Spike — Get the Most from Your CGM

SpikeApp/Spike

Open-source iOS app that unlocks the full potential of CGM transmitters (Dexcom, Libre, MiaoMiao) with custom alarms, Apple Watch support, Nightscout, and IFTTT integrations.

890310
ActionScript / Swift
iOSCGMDexcom
Artificial Pancreas

AAPS — Android Artificial Pancreas System

nightscout/AndroidAPS

The most widely used open-source automated insulin delivery (AID) system for Android. Implements the OpenAPS algorithm, supports dozens of insulin pumps, CGMs, and smartwatches. Used by thousands of T1D patients worldwide as a full closed-loop artificial pancreas.

1,1006000
Kotlin
Androidclosed-loopAID
Bolus & Calculators

BolusGPT — GPT-Powered Insulin Dose Calculator

kennedyjustin/BolusGPT

An OpenAI custom GPT that calculates bolus insulin doses via natural language and images. Integrates with Dexcom CGMs for real-time glucose, stores insulin-to-carb ratios and ISF, and supports text, voice, and photo prompts. Built by a newly-diagnosed T1D developer.

18022
Python
GPTbolusinsulin
Research & AI

Gluformer — Transformer Glucose Forecasting

mrsergazinov/gluformer

Official implementation of 'Gluformer: Transformer-Based Personalized Glucose Forecasting with Uncertainty Quantification'. A state-of-the-art deep learning model for predicting future CGM readings with personalised uncertainty bounds.

9528
Python
transformerforecastinguncertainty
CGM & Monitoring

Nightscout Connect — Universal CGM Bridge

nightscout/nightscout-connect

Official Nightscout module providing a single entry point for bridging multiple diabetes cloud providers (Dexcom, LibreLinkUp, Glooko, Medtronic, Tandem) into Nightscout — supporting glucose readings, treatments, profiles, and device status.

4518
TypeScript
NightscoutDexcomLibreLink
Food & Nutrition

Acara Plate — AI Meal Planner for Diabetes

acara-app/plate

Open-source self-hostable health AI platform for diabetes meal planning, glucose tracking, and coaching. Connects Apple Health, supports Telegram chat interface, scans meals with AI, and tracks glucose trends. Built specifically for Type 2 diabetes management.

21034
PHP
meal planningApple HealthAI
Research & AI

CGM Format Converter — Unified ML Dataset Tool

GlucoseDAO/cgm_format

Converts popular CGM data export formats (Dexcom, Libre, Nightscout, OhMD) into a unified schema suitable for machine learning training and inference. Essential for researchers building glucose prediction models.

5512
Python
CGMdata formatML
Food & Nutrition

Open Food Facts — Global Food Database

openfoodfacts/openfoodfacts-server

The world's largest open collaborative food database with 3M+ products, full nutritional information, ingredient lists, and Nutri-Score. Freely accessible via API — powers food logging apps worldwide including diabetes management tools.

1,100649
Perl / JavaScript
food databasenutritionAPI
Bolus & Calculators

Bolus Calculator — HTML5 Offline App

mxklb/boluscalculator

A lightweight HTML5 insulin bolus calculator webapp that works fully offline. Supports mg/dL and mmol/L, bread units and gram carbs, configurable I:C ratio, ISF, and correction dose. All settings stored locally — no server required.

7832
HTML / JavaScript
bolusinsulinoffline
CGM & Monitoring

GlyChart — Local xDrip+ CGM Data Analyzer

dustinsurwill/glychart

Local web app for analyzing xDrip+ CGM exports — calculates time in range, visualises meal excursions, and provides an insulin pump settings advisor. All data stays entirely on your machine — complete privacy.

6215
JavaScript
xDrip+CGMTIR
Insulin Pumps

Tandem Pump — Home Assistant Integration

jnctech/ha-tandem-pump

Home Assistant integration for Tandem t:slim X2 insulin pumps with 69 sensors: real-time glucose, insulin delivery, battery status, active alerts, bolus calculator data, CGM statistics, and basal profiles. Direct connection to the Tandem Source API.

9520
Python
TandemHome Assistantautomation
AI & LLM

Lumose — Full-Stack Open-Source Diabetes Platform

lumose-health/GlycemicGPT

A comprehensive open-source diabetes platform built around AI-powered analysis. Connects directly to CGM devices and insulin pumps, provides real-time monitoring, daily AI briefs, pattern detection, conversational AI chat, and caregiver alerting. Stack: FastAPI, Next.js 15, React 19, PostgreSQL, Kotlin Android.

31052
Python / TypeScript
full-stackCGMinsulin pump
Research & AI

Awesome Diabetes Software — Curated List

gcappon/awesome-diabetes-software

Community-curated awesome list of open-source diabetes research software covering datasets, T1D/T2D simulators, CGM analysis tools, glucose prediction algorithms, exercise management, clinical trial software, and top journals. Essential starting point for diabetes software researchers.

18035
Markdown
awesome-listresourcesresearch