Nightscout, the open source CGM remote monitor: store and visualise continuous glucose data through a live web dashboard and REST API, secured from first boot by cloudimg.
Nightscout (cgm-remote-monitor) is a self hosted continuous glucose monitoring remote monitor. It stores glucose readings in a database and presents them in real time through a live web dashboard and a documented REST API, so people with diabetes, their families and their care teams can follow the data from any browser and connect uploaders and follower apps such as xDrip+, AndroidAPS and Loop.
cloudimg ships Nightscout preinstalled and native (no Docker) with Node.js, MongoDB and an nginx reverse proxy wired together. There is no default login: a unique API secret and a unique database credential are generated on first boot and stored in a root only file, MongoDB is bound to loopback with authentication enabled, and all monitoring data lives on a dedicated, independently resizable data volume. A paired step by step deploy guide and 24/7 support are included.
Real screenshots taken while testing this image against its deployment guide.
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
## Live Glucose Monitoring for Families and Care Teams - Running in Minutes
Nightscout (cgm-remote-monitor) is a widely used open source, self-hosted continuous glucose monitoring platform. It lets people with diabetes, their families and care teams store and visualise CGM data in real time through a live web dashboard and a documented REST API, so glucose readings from a sensor can be followed from any browser or shared with remote caregivers.
This image delivers the entire platform fully installed, hardened and reverse-proxied behind nginx. Your monitor is serving within minutes of launch with no container wiring, dependency troubleshooting or database bootstrapping required.
## What You Get: A Complete, Native Stack
Unlike a bare deployment, this image ships the full stack pre-wired and native:
## Secure by Default - No Shared Credentials
There are no default credentials. On first boot the image generates a unique API secret (Nightscout's shared passphrase that gates all write and administrative access) and a unique MongoDB database credential, then writes them to a root-only file on the instance. No shared password, database user or pre-seeded record exists in the image, and MongoDB is never exposed to the network. Access is denied by default (AUTH_DEFAULT_ROLES=denied): the dashboard and API are not world-readable or writable until the API secret is presented.
## Compatible With Popular CGM Uploaders
Nightscout works with common CGM uploaders and follower apps including xDrip+, AndroidAPS, Loop and Spike, which authenticate to the REST API by sending SHA1 of the API secret as the api-secret HTTP header. The dashboard provides real-time glucose graphs, care-portal treatment entry, alarms and a range of visualisation plugins.
## Getting Started
After launching the instance, SSH in and retrieve your unique API secret and MongoDB credential from the root-only file. Point your CGM uploader (xDrip+, Loop or AndroidAPS) at the instance's public address. To use a custom domain, configure a DNS record pointing to the instance and nginx will serve it automatically. The EBS data volume can be resized independently as your data grows. The paired cloudimg deploy guide walks through each step.
## 24/7 Support Included
cloudimg engineers assist with deployment, configuration, updates, performance tuning and troubleshooting around the clock.
## Licensing and Disclaimer
Nightscout / cgm-remote-monitor is free software licensed under the GNU Affero General Public License, version 3 (AGPL-3.0). The corresponding source code is available from the upstream project at github.com/nightscout/cgm-remote-monitor; the image ships the unmodified upstream release. Nightscout is a project of the Nightscout Foundation and is not a medical device; it is not intended to diagnose, treat, cure or prevent any disease, and it does not replace professional medical advice or a prescribed monitoring device. All product and company names are trademarks or registered trademarks of their respective holders and their use does not imply any affiliation with or endorsement by them.