Skip to content

About

Terminal glucose monitor for FreeStyle Libre sensors via the LibreLinkUp API

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js JavaScript Linux

Terminal glucose monitor for FreeStyle Libre

LibreReader reads current values from a FreeStyle Libre sensor through the unofficial LibreLinkUp API and shows them directly in the terminal. Checking a reading takes a single keypress instead of opening a phone app. Written in JavaScript for Node.js on Linux.

The interface provides a live reading with a trend arrow and color coded status, a history of the last 10 readings, and a streaming mode that refreshes every 1.5 minutes. A short mode prints a single line and exits, which is convenient for status bar scripts.

Setup

Credentials are read from a .env file:

LIBRE_LINK_EMAIL=you@email.com
LIBRE_LINK_PASSWORD=password

Install dependencies and run the program:

npm install
node main.js

Keys

Key Action
r refresh reading
h history of the last 10 readings
s toggle streaming, auto refresh every 1.5 min
q quit

Short mode

node main.js --short

Prints a single line of plain text and exits, intended for status bar scripts such as a waybar module.

About

Terminal glucose monitor for FreeStyle Libre sensors via the LibreLinkUp API

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages