Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.14 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.14 KB

sugarcube

sugarcube is a simple and sweet dashboard for viewing blood glucose data in the browser.

Features

  • 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!)

Setup

⚒️ TODO

Development

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.

  1. Install node and npm
  2. Run make dev