# Nocturne API

Nocturne API is the backend service of Nocturne, a modern, high-performance diabetes management platform and complete rewrite of the Nightscout API built on .NET. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/7068/nocturne-api

## Description

Nocturne API is the backend service of Nocturne, a modern, high-performance diabetes management platform and complete rewrite of the Nightscout API built on .NET. It natively re-implements every Nightscout endpoint in C# and connects to data sources such as Dexcom, LibreLinkUp, Glooko, and MiniMed CareLink, serving real-time glucose readings, alerts, and statistics to companion apps and web front-ends. It suits self-hosters who want a fast, fully Nightscout-compatible glucose API with native connectors.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

64/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 0 days ago)
- Popular: 43 (146 GitHub stars)
- Easy to install: 20 (1 install platform, Docker image)

## Links

- Unraid: https://ca.unraid.net/apps/app_1992f10d845e5c4c
- GitHub: https://github.com/nightscout/nocturne
- Official website: http://getnocturne.dev/
- Documentation: http://getnocturne.dev/docs

## Common questions

### Can apps that currently talk to Nightscout be pointed at Nocturne?

Yes. Nocturne speaks the Nightscout v1, v2, and v3 APIs, so existing apps can keep working when their URL is changed to the Nocturne instance.

### Can I use my own PostgreSQL database for Nocturne?

Yes, the documentation includes a Bring Your Own PostgreSQL installation path.

### Can I put Nocturne behind my own reverse proxy?

Yes, the documentation includes Bring Your Own Reverse Proxy guidance.

### What sign-in methods are documented for Nocturne?

The docs list passkeys with fallbacks, Google sign-in, GitHub sign-in, and generic OIDC sign-in.

### Can one self-hosted Nocturne instance serve multiple people?

Yes. It is multitenant by default, so one deployment can serve multiple people while keeping each person's data and settings separate.

### Can Nocturne send alerts to chat or email?

Yes, alerts can use email via Resend and Discord, Slack, Telegram, or WhatsApp.

---
Source: Our Local Host (https://ourlocalhost.com/app/7068/nocturne-api), the self-hosted and open-source app directory.
