Core-Health is a tool that you can deploy using Cloudflare to review the health metrics that most matter to you. The example is deliberately public, but you can secure yours behind Cloudflare Access to keep everything entirely private.
This project consists of:
- a dashboard to display health analytics captured from an Oura ring and Withings devices,
- data capture tools to get your data from the APIs of those services and store it into Cloudflare's D1 database offering,
- and an integration with Cloudflare Workers AI to review your daily snapshot.
- Clone or fork this repo.
- Optional: manually capture historical data with your GitHub actions (or import it directly into Cloudflare D1).
- Replace the GitHub action secrets with yours.
- Create a new Cloudflare Pages project and connect it to your cloned/forked repo.
- Update the Cloudflare Pages secrets with your own (including Cloudflare's AI Gateway if you choose to use that as your AI provider).
- The Withings refresh token flow fails randomly. I have not been able to figure out why.