sugarcube
is a simple and sweet dashboard for viewing blood glucose data in the browser.
- Realtime glucose readings through the Dexcom Share API
- Smart glucose reading fetches (It knows when to expect your next reading and starts asking for a reading then)
- Dashboard updates instantly whena new glucose reading becomes available (Server-Sent Events!)
⚒️ TODO
sugarcube
uses a Go backend and SvelteKit frontend.
The production build embeds the frontend in it so all you need is the binary. The dev build starts up the server without the embedded frontend, starts vite and proxies unhandled requests to it. This enables hot reload for frontend development with one command and no cross origin issues.
- Install
node
andnpm
- Run
make dev