Windows - macOS - Linux - RaspberryPi
Swedish Windows
Linux (Qt6)
Trndi is a desktop app that shows the your blood sugar and graph. It works with Night Scout and Dexcom Share. It also supports the xDrip app, connecting over the local network/WiFi.
- Natively runs on your computer without installation or other software (on Linux, this may depend on distro)
- Supports multiple languages
- Runs on your Raspberry Pi and other arm computers, optinally as a full-screen display
- Works on touch-screen devices
- Supports modern JavaScript extensions
- Small and portable
- Supports dark and light color modes
- Displays your readings in a trend graph
- Free and open source
- Integrates with Windows, macOS and Linux special features such as the macOS dock, Windows taskbar and Linux notifications.
- Linux: Supports both Qt6 and GTK2
- Supports low, normal and high glood sugar colors. But also ranges such as "normal, but on the edge to high"
Got more than one diabetic? Trndi supports parallel users.
Click/hold the reading (or "Setup" text) and choose settings to access settings.
- For NightScout, settings will be fetched from your server and auto-applied
- For Dexcom, see the Dexcom setup guide. The backend does not support all features, but this can be fixed with some manual work.
- For xDrip, you need to turn on the local web server and use that IP/password
- For other backends, feel free to contribute a api driver. See API Drivers
NOTE To receive notifications see here
See a box instead of an icon? On Debian systems, you may need to install a graphic font. I recommend fonts-noto-color-emoji.
Development tools can be obtained via most distros package managers:
- Fedora/RHEL:
dnf install lazarus
- Ubuntu/Debian:
apt install lazarus
- FreeBSD:
pkg install editors/lazarus
Use the Laarus IDE to build and/or develop the app, set release target in the Project Options.
Build development:
lazbuild Trndi.lpi
Build release:
lazbuild -dRelease Trndi.lpi
Build to a release folder
lazbuild -B output_directory Trndi.lpi
The JS engine, QuickJS, is linked into Trndi.
You need the relevant library files, placed in ../static when compiling.
You can get the recommended libraries from https://synopse.info/files/mormot2static.7z - you may remove libraries you don't need! Due to mormot2, the support library Trndi uses, it may currently not be possible to run extensions under ARM64 computers.
You need the libqt6pas packages from https://github.com/davidbannon/libqt6pas/releases to compile Trndi
Trndi uses JEDI to format code, in Lazarus: Source > JEDI Code Format > Global Settings. Choose JCFSettings.xml
Units should end with .pp
,
Should you choose not to use Lazarus IDE, these are the recommendations for Visual Studio Code:
-
Language Support: https://marketplace.visualstudio.com/items?itemName=alefragnani.pascal
-
Formatting: Name: Pascal Formatter VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=alefragnani.pascal-formatter
-
Debugging: https://marketplace.visualstudio.com/items?itemName=CNOC.fpdebug
Trndi2 is a rewrite, less bloated, version of Trndi 1, which was never released publically. Trndi 1 was originally called Dexmon (and only did Dexcom). The original idea spawns from an old app called TrayTrend which I made with a similar purpose.
Trndi is actively tested on Windows (amd64), Fedora Linux(amd64), Debian Linux(arm64 / Raspberry pi).
To compile with extension support, you have to add {$DEFINE LIBQUICKJSSTATIC}
in mormot.defines.inc