Case study · Health tools · AI
Longevity Dashboard: a health calculator with an AI coach, built securely.
A free biological age and Longevity Score calculator that scores eight body systems separately, with education pages and an AI coach.
- Pages
- About 119 in the sitemap
- Platform
- Single-file app plus generated pages on a Cloudflare Worker
- AI
- Coach via a server-side model proxy
- Protection
- Turnstile, KV, and native rate limiting
What the site had to do.
- Health tools must be careful about claims and clear about what a score does and does not mean.
- An AI feature needs an API key that must never reach the browser, and protection against abuse.
- The calculator had to stay fast while the education content grew.
The build.
Eight-dial scoring
A Longevity Score and biological age estimate across eight body systems, with missing inputs explained rather than scored as zero.
AI coach behind a proxy
The Worker proxies the AI model, so the API key stays on the server.
Abuse protection
Turnstile bot checks plus KV-based and native rate limiting, set to fail closed if verification is unavailable.
Education pages
Biomarker, dial, and guide pages generated from content files, with revisions marked as awaiting clinical review where applicable.
Reminders
Optional follow-up reminders by email or calendar export.
Automated tests
Scoring-engine and page tests run with the build.
- Cloudflare Worker
- AI proxy
- Turnstile
- KV
- Resend
Want a site like this?
Start with a free audit of your current site, Google profile, and call handling. You get a short written summary of what to fix first.