For ✨ personal reasons ✨ I’ve had to start monitoring my blood glucose, so I’ve been wearing a CGM. Inspired by pydexcom, I'm announcing three open source projects today:

https://github.com/kylebshr/dexcom-swift - basically pydexcom, in Swift.

https://github.com/kylebshr/dexcom-vapor - Vapor wrapper around dexcom-swift.

https://github.com/kylebshr/DexcomMenu - macOS menu bar app to see your real-time glucose readings.

Will probably add more functionality over time, but it’s a start!

GitHub - kylebshr/dexcom-swift

Contribute to kylebshr/dexcom-swift development by creating an account on GitHub.

GitHub
@kylebshr that’s super cool! (I hope the personal reasons aren’t too rough)

@kylebshr Woah 🤯

Sorry about your situation, but thanks for sharing this.

I wasn't aware of pydexom, but piggybacking off that Share API is the best way I've seen to get real-time data without intercepting the sensor Bluetooth data or anything like that. I may have to look at doing something similar for @glucomate. Currently it only uses HealthKit as a data source which is delayed when using a Dex, a bit like their API is.

@zachsimone it’s been working great! It’s pretty simple if you want to copy/rewrite it, but it would be awesome if there’s any improvements you want to PR!