Skip to content
项目

关于

Apple Health to your own database. Export files, build dashboards, and connect AI with read-only MCP. Open-source iOS app, sync protocol, and self-hosted stack.

数据与分析

这些数字如何统计

33 星标8 复刻 +1 24小时

实测星标增长

24小时
+1
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

PulsHealth

Sync and export your Apple Health data.

Export files from your iPhone or iPad, or keep your health history in a database you control. PulsHealth includes the app, a self-hosted stack, and an open sync protocol. Everything in this repository is Apache-2.0.

Get the iOS app · Self-host it · Read the docs

Unlock your health data: export CSV, JSON, or JSONL files from PulsHealth, or sync Apple Health to your own PostgreSQL database

Make something with your data

Explore cool examples: a health year in review, marathon training, activity as art, and an atlas of walks, runs and rides. Explore recorded examples, then use your own files with the local adapter and instructions.

Get started

Choose a workflow to compare file exports, database sync and AI access, including setup, data destinations and limitations.

  • Export files: install the app, grant Health access, and choose the types, dates, and format in Export. Export guide.
  • Sync to your database: run the Docker stack and pair your phone. It includes PostgreSQL + TimescaleDB, a web dashboard, Grafana, and APIs. Setup guide.

The app reads Apple Health without modifying it. Background sync depends on iOS, Health access, and Watch-to-phone delivery. The self-hosted backend is pre-release (0.x); see the setup guide for networking and backups.

See the dashboard

Explore activity, sleep, heart rate, and workouts in your browser. Try the interactive demo with sample data.

PulsHealth demo dashboard: activity rings and trends for steps, sleep, heart rate, HRV, and more

See the app

Explore Apple Health types and their sources Heart rate history and analysis Choose health types, dates, and export formats

App captures use synthetic data. Image provenance.

Build with your data

Use case Guide
Add Apple Health to an existing Grafana dashboard Import steps, sleep and workout panels
Add Apple Watch data to an existing Next.js app Copy the steps and sleep page
Replace export.xml in a Python chart Use a synced API export
Query your database Schema and query patterns
Build an app or integration Product API
Connect an AI assistant Read-only MCP tools
Automate your home Home Assistant integration
Write your own receiver Sync protocol · Python + SQLite example

AI tools share the records they read with your chosen AI provider.

Documentation and development

探索相关项目

加载中…