Dokumentasjon
Slik er Nightscout hosting satt opp
Oversikt
Nightscout hosting on DiabetesTech Hub lets you create and manage your own Nightscout instance. Each instance has a unique URL, its own configuration (CGM data sources, alerts, theme), and is isolated from other users. The system uses a subscription model; you log in with Discord or email, subscribe to a plan, then create one or more instances from the dashboard.
Instans-URLer
Every instance has a canonical URL of the form:
https://diabetes.newstargeted.com/nightscout/instance/<your-instance-name>
When you create an instance, you choose a short name (letters, numbers, hyphens only). That name becomes the last part of the URL. For example, if you choose my-cgm, your instance URL is:
https://diabetes.newstargeted.com/nightscout/instance/my-cgm
Using /nightscout/instance/... keeps instance URLs clearly separated from other Nightscout pages (dashboard, login, pricing, etc.). You can share your instance URL with CGM apps, followers, or use it in Nightscout Connect or other tools.
Dashboard og administrasjon
- Dashboard (
/nightscout/dashboard) – List your instances, open them, or go to Manage / Import / Export. - Create instance (
/nightscout/create-instance) – Configure a new instance: name, API secret, time format, units, data sources (Dexcom, Glooko, Libre Link Up, etc.), alerts, and optional modules. - Manage instance – View access URL, API secret, status, and change instance status (active / inactive / suspended).
- Import / Export – Import data from another Nightscout or CSV; export data (CSV, JSON, MongoDB dump).
Datakilder og integrasjoner
Data is brought into Nightscout via bridges and plugins. This hosting uses the same environment variables and concepts as standard Nightscout and nightscout-connect (single entry point for bridging cloud diabetes data to Nightscout).
Glooko
For Glooko (and DiaSend/camAPSfx-style setups), the create-instance form includes a Glooko Server dropdown:
- Default (api.glooko.com) – Default Glooko API server.
- EU (eu.api.glooko.com) – For European users; use this if your Glooko account is in the EU region.
- de-fr / US – Other regional options.
This maps to CONNECT_GLOOKO_SERVER / CONNECT_GLOOKO_ENV as described in the nightscout-connect Glooko documentation. You also set Glooko email, password, and timezone offset in the same section.
Dexcom Share
Configure Dexcom Share account name and password; optional region (US/OUS) and server. This corresponds to CONNECT_SOURCE=dexcomshare and related variables in nightscout-connect.
Libre Link Up
Libre Link Up username, password, and server/region (e.g. US, EU). Used for Abbott FreeStyle Libre data via CONNECT_SOURCE=linkup.
Other sources
The create-instance form also supports Minimed Carelink, Pushover, IFTTT, and other options. Sensitive data (passwords, API keys) are stored in the instance configuration and must be kept secure.
Sikkerhet og konfigurasjon
Site-wide secrets (database, Discord OAuth, etc.) are stored in config.php, which is not accessible over HTTP. Instance-specific settings (API secret, CGM credentials) are stored in the database per instance. Always use a strong API password for your Nightscout instance and do not share it. Session and auth use secure cookies and HTTPS.