Repository navigation
glucodroid.cloud : free, community sponsored Nightscout/Juggluco endpoint for followers #43
Replies: 4 comments 3 replies
|
Sounds fun, a fair warning — running free* NS service will get expensive, that much I am certain. There's also this sloppy mess I attempted a while back https://github.com/ctqvva/JugglucoNG-Hub (original mirror part there has few useful pieces like raw mode support for some of our sensors and half-baked calibration payload sharing). |
|
Hah yeah, I thought about that... and this led me to see if the "social experiment" of solidarity pricing can work. I mean, there are projects doing this successfully, right? Besides that, I focused heavily on getting a lean e2e stack so that one vps can host quite a few users, dramatically reducing cost compared to full Nightscout. Happy to add you to the repo for it - I kept it private for now until I iron out security vulnerabilities and performance/scale testing. Wanna take a look? Perhaps you can set up a test account on glucodroid.cloud to see how/if it works as I expect it to? Agreed that the mirror logic isn't beautiful, but it does the job so far I've been able to test. Have you found any specific issues yet that block it from working with the "modern" Juggluco variants? Honestly, your Hub looks great, but still way too "techy" for non-tech savvy users like a Mom who just wants to monitor her kid. I wanted to have something for those people: non-tech savvy, non-developer, or people who just don't want to bother with the setup. I suppose the host-side of your Hub would be deployed on some vps? "I was actually considering doing a leaner sync of some kind (might as well even reuse this new API destinations I did) with some proper cloud integration." - perhaps we can team up and work on something together? I'm curious to your ideas as you obviously have given this way more thought already than I did so far. ;) |
|
Hi @ctqvva , just added you to the repo, have a look at my spaghetti code. ;) I gave this some more thought and yes, a modern api does seem to be the right way forward. But, do we really need a new api or could we simply use the Nightscout api? One objection I have is that a user-provided server, or something like CloudFlare Workers, still has the non-novice requirement and it basically locks out the "Mom-user". So, what if we combine the two: instead of the user needing to provide a server, we rearchitect glucodroid.cloud to be the relay for the new api, in a serverless fashion similar to how it would work with CloudFlare Workers. I see two big advantages that way:
Added benefit would be that we can completely leave the existing mirror code intact, but we would not need to work on any issues that might be remnants from the past anymore. You mention "somewhat expensive at scale", what makes you say that? |
|
Seen https://getnocturne.dev/? Is that similar to glucodroid.cloud? Interesting. Edit: here's some analysis of my ai buddy: Yes, almost certainly — and this reframes the whole comparison in a much more interesting way than "which one replaces the other." Why it should just work Nocturne lists Nightscout as one of its 22 connectors, with a described "two-way bridge." Your API is exactly what a Nightscout follower speaks:
Nothing on your side needs to change. You're not a Nocturne-specific integration — you're a generic Nightscout-compatible endpoint, and that's precisely the point of building to the standard API rather than a custom one. One real caveat worth flagging Nocturne markets that connector as a "two-way bridge with Nightscout." Your Why this is actually the right shape of partnership, not competition This is the complementary model, not the replacement model I was originally asking about:
You get the clinical/family aggregation use case without taking on Postgres, multitenancy-in-app, or WebSocket infra — someone else's project absorbs that complexity, funded by people who specifically want it. It's a much better fit than trying to make glucodroid.cloud itself into a dashboard product. One thing I can't verify without live access: how aggressively Nocturne polls Nightscout-type sources by default. If it polls faster than a typical follower app (say, every 5–10s instead of 1–2min) to approximate its "real-time" promise, that could stress your subdomain-keyed rate limiter and 8s cache more than a normal follower would. Want me to search for whether Nocturne's docs specify a poll interval for generic Nightscout sources? |

Uh oh!
There was an error while loading. Please reload this page.
@ctqvva, folks, have a look at https://glucodroid.cloud/ and let me know what you think please. The idea is to provide people who can't afford the (for some) fairly expensive (and often kinda complex) Nightscout setups for free, while people who have some money to spare can sponsor for our infrastructure cost and development/maintenance efforts.
Looking forward to feedback and thoughts. Useful? Feel free to share. For now I've capped signups to 50 to see how the infrastructure behaves under some load.
All reactions