Skip to content
LoopKitPublic

About

An automated insulin delivery app for iOS, built on LoopKit

Topics

Resources

Code of conduct

Stars

1.7k stars

Watchers

358 watching

Forks

Latest commit

 

History

2,689 Commits

Folders and files

Repository files navigation

Loop for iOS

Loop app icon

Join the chat at https://loop.zulipchat.com

Loop is an open-source automated insulin delivery app for iPhone and Apple Watch. It reads glucose from a continuous glucose monitor (CGM), forecasts glucose from insulin, carbs and recent trends, and adjusts delivery on a compatible insulin pump. It is a stone resting on the boulders of work done by many others.

Loop is built on LoopKit, a set of frameworks for data storage, retrieval and calculation. Pump and CGM support comes from separate plugins, and the app is built from LoopWorkspace.

Please understand that this project:

  • Is highly experimental
  • Is not approved for therapy

Status screen with glucose, active insulin, insulin delivery and active carbs charts Carb entry with food type and absorption time Meal bolus screen with a recommended bolus

Custom presets Live Activity on the Lock Screen Choosing a CGM

Apple Watch app with glucose and actions Carb entry on Apple Watch Bolus on Apple Watch

Screenshots are from the iOS Simulator with simulated CGM and pump data.

Features

  • Automated insulin delivery. Loop forecasts glucose several hours ahead and adjusts delivery with each new glucose reading, using either temporary basal rates or automatic boluses.
  • Meal and correction boluses with a recommended amount and a forecast of where glucose is heading. Carb entries can include food type, absorption time and saved favorite foods.
  • Pre-meal targets and custom presets that temporarily adjust overall insulin needs and the correction range, for exercise, illness or other situations. Presets can run for a set time or indefinitely, and can be scheduled to start later.
  • Live Activity on the Lock Screen, in the Dynamic Island and on CarPlay.
  • Apple Watch app with glucose and forecast, carb entry, bolus, pre-meal targets and presets.
  • Alerts for glucose and device conditions, with critical alerts that sound even when the phone is silenced, and an option to temporarily mute alerts.
  • Algorithm experiments: optional Glucose Based Partial Application and Integral Retrospective Correction.
  • Data sharing with Apple Health, and upload to Nightscout and Tidepool through optional services.

Supported devices

  • Pumps: Omnipod 5, Omnipod DASH and Omnipod Classic (Eros, with RileyLink); older Medtronic pumps (with RileyLink); Medtrum Nano (200U and 300U).
  • CGMs: Dexcom G5, G6, ONE, G7 and ONE+; FreeStyle Libre 1 and 2 (through MiaoMiao or Bubble transmitters, or EU Libre 2 directly); Eversense E3 and 365; and readings from Dexcom Share or Nightscout.

See Loop Docs for the exact models and requirements.

Documentation

Please visit the Loop Docs for installation, algorithm, and other details. Loop is built from LoopWorkspace, in a web browser with GitHub Actions or on a Mac with Xcode.

For FAQs, how to contribute to open source aspects of Loop and other tips, refer to the Wiki.

Questions and discussion are welcome on Loop Zulip.

License and Code of Conduct

Please read the LICENSE and CODE_OF_CONDUCT

About

An automated insulin delivery app for iOS, built on LoopKit

Topics

Resources

Code of conduct

Stars

1.7k stars

Watchers

358 watching

Forks

Releases

Packages

Used by

Contributors

Languages