Repository avatar
AI Tools
v0.2.0
active

open-health-sync

io.github.soma-intelligence/open-health-sync

Read-only access to self-hosted health data: samples, sleep, workouts, nutrition, daily summaries.

Documentation

Sync health data in peace. Koi drawn in characters swim around the line, in an endless loop.

Open Health Sync

One API for all your health data. Free, open source, on your own server.

CI Release License: AGPL-3.0

What it does

Every health app and wearable sends data in its own format. Open Health Sync collects it all and gives it back in one clean format, through one API.

  • In: Apple Health, Health Connect, Garmin, Oura, WHOOP, Fitbit, Withings, Polar, Strava, Dexcom and more.
  • Out: a REST API, FHIR R4, Open mHealth, signed webhooks, CSV and Parquet, native SDKs, and an MCP server so an AI agent can read your data.
  • Runs anywhere: one program plus Postgres, even on a Raspberry Pi. Your data stays with you.

Try it

You need Docker.

git clone https://github.com/soma-intelligence/open-health-sync.git && cd open-health-sync
cp .env.example .env
sed -i.bak "s|^OHS_ENCRYPTION_KEY=.*|OHS_ENCRYPTION_KEY=$(openssl rand -base64 32)|" .env
docker compose --env-file .env -f deploy/docker-compose.yml up -d --wait
docker compose --env-file .env -f deploy/docker-compose.yml exec ohs /ohs seed --demo

The last command loads 90 days of sample data and prints an API key and calls to try.

Or run it on a hosting platform, no server of your own:

Deploy to Render

Fly.io and Railway steps are in Deploy on a platform.

Next steps: API guide, self-hosting, releases.

Don't want to run a server?

Use the free hosted beta: same API, nothing to install. Test data only for now.

Learn more

Documentation · FAQ · Compare with Terra and others · Connect an AI agent · Contributing · Security

Not a medical device. Licensed under AGPL-3.0.

OCI
ghcr.io/soma-intelligence/open-health-sync:0.2.0
Install Command
docker pull ghcr.io/soma-intelligence/open-health-sync:0.2.0:undefined