Musclog

AI-powered fitness & nutrition tracking — free & open source.

Smart workout tracking
AI photo nutrition logging
Detailed progress charts
100% private & on-device
Try it live
AndroidiOSWeb
Download the AppScan to download for Android
Back to all tags

Posts tagged D1

Every Musclog blog article tagged D1.

Engineering

Hosted AI for an app with no accounts: a device key, a Cloudflare Worker, a spend ledger and two app stores

Musclog Iron runs the AI for you, and Musclog still has no logins. This is the whole build: a key that lives on your phone, RevenueCat, a Cloudflare Worker on the free plan with an OpenTofu-managed D1 ledger that cannot spend more than half of what a payment brought in, OpenRouter with zero-retention routing, Google Play driven from the command line, and a new Loggy pose.