selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
nightscout-librelink-up logo

Self-host nightscout-librelink-up

v3.3.0

Uploads LibreLink Up CGM data to Nightscout

ReleaseOpen SourceMIT
Updated7 months ago
LanguageTypescript
Setup difficultyEasy
Stars
294
Docker
timoschlueter/nightscout-librelink-up
Install with Docker

What is nightscout-librelink-up?

nightscout-librelink-up is a self-hosted background service written in TypeScript that bridges Abbott's LibreLink Up cloud service with Nightscout, the open-source CGM data platform. It authenticates to LibreLink Up using a user's credentials, polls for new glucose readings at a configurable interval (default 5 minutes), and uploads them to Nightscout via its REST API using a SHA1-hashed access token. The tool supports FreeStyle Libre 2 and Libre 3 sensors, handles multiple patient connections, and can run in a single-shot mode for cron jobs or as a long-running scheduled task. It is distributed as a Docker image (timoschlueter/nightscout-librelink-up) and can be deployed to DigitalOcean, Heroku, Render, or run locally via npm. Configuration is entirely through environment variables, with no database or additional services required.

Should you self-host nightscout-librelink-up?

nightscout-librelink-up scores 50/100 on selfhost.directory (how scoring works) and ranks #13 of 31 in Health & Fitness. It has 294 GitHub stars.

It shipped 3 stable releases in the past year. The latest, v3.3.0, came out on 4 March 2026. New versions land roughly every 6 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is wger (73/100, 7 202 stars). It scores higher overall, so compare the two before you pick. See nightscout-librelink-up vs wger side by side.

Features

  • Configurable poll interval
  • FreeStyle Libre 2 & 3 support
  • Full historical data upload
  • LibreLink Up to Nightscout sync
  • Multiple patient connections
  • One-click cloud deployments
  • Regional API endpoints
  • Retry logic
  • Single-shot mode

nightscout-librelink-up README

How to install nightscout-librelink-up

Install nightscout-librelink-up with Docker

Environment variables
LINK_UP_USERNAME, LINK_UP_PASSWORD, LINK_UP_TIME_INTERVAL, LINK_UP_REGION, NIGHTSCOUT_URL, NIGHTSCOUT_API_TOKEN, LOG_LEVEL

docker run -e LINK_UP_USERNAME="mail@example.com"
-e LINK_UP_PASSWORD="mypassword"
-e LINK_UP_TIME_INTERVAL="5"
-e LINK_UP_REGION="EU"
-e NIGHTSCOUT_URL="nightscout.yourdomain.com"
-e NIGHTSCOUT_API_TOKEN=$(echo -n "librelinku-123456789abcde" | sha1sum | cut -d ' ' -f 1)
-e LOG_LEVEL="info"
timoschlueter/nightscout-librelink-up

Requires environment variables for configuration

nightscout-librelink-up releases & version history

More in Health & Fitness

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…