← statichum.studio

Self-Hosted Calorie And Health Tracker That Writes Your Logged Nutrition And Metrics BACK Into Apple Health And Android Health Connect, Not Just Reads From Them

other real project •• multiple requests

People who run their own private or self-hosted food and fitness tracker want their logged calories, water, weight, and sleep pushed back out into the phone's health hub (Apple Health / Android Health Connect) so the OS, their rings/watches, Home Assistant, and clinician apps all see one complete picture. Today these trackers are read-only sinks or standalone, so privacy-minded self-loggers keep a parallel MyFitnessPal account just to feed Apple Health. The opening is a privacy-first tracker that is a first-class WRITER to both platforms.

builder note

The moat isn't the food diary, it's being a reliable WRITER to HealthKit and Health Connect... HealthKit has no backend API, so you must ship a small native companion on each platform that syncs and writes on-device. Nail bidirectional sync and you become the private hub everything else points at.

landscape (3 existing solutions)

HealthKit has no server API (data lives on-device), so any self-hosted tracker needs a thin native iOS/Android companion that holds the permissions and writes to the health store. That platform plumbing, not the food diary, is why FOSS trackers stay read-only and users keep a second MyFitnessPal copy alive.

SparkyFitness Actively developed self-hosted nutrition/fitness tracker, but writing your logged data back to Apple Health and Health Connect is unbuilt (these are the open requests). It is effectively a data sink, not a writer.
Open Wearables Self-hosted platform that syncs HealthKit/wearable data INTO your backend (read-in). Solves the opposite direction; does not push your own logged nutrition back OUT to the OS health store.
MyFitnessPal / Cronometer Proprietary apps that DO write nutrition to Apple Health and Health Connect, but they are cloud-bound, ad-supported, and not self-hostable... which is exactly what these users are trying to leave.

sources (2)

other https://github.com/CodeWithCJ/SparkyFitness/issues/1329 "Would it be possible to enable Nutrition tracking into Health Connect?" 2026-05-26
other https://github.com/CodeWithCJ/SparkyFitness/issues/887 "writing food calories, water, nutritional information... back to Apple Health" 2026-03-10
self-hostedhealth-dataapple-healthhealth-connectprivacy