Open Health Bridge is a local-first Android health data bridge for Health Connect + manual logs.
This repository now contains a runnable developer-preview foundation aligned with the April 2026 v2.0 spec:
- Multi-module Android structure (
app,core/*,data/*,feature/*,integration/*) - Core domain model +
HealthBridgeServiceboundary - Nutrition, Wellness (Heart Rate, Sleep, Recovery) & Cycle Tracking (Fertility, Menstruation, Sexual Activity)
- Health Connect Integration with permission rationale and data visibility (Android 11+ support)
- Live Test Dashboard in-app for verifying Health Connect data access
- Room table definitions for MVP entities
- WorkManager sync constraints for charger + idle behavior
- Local loopback API server (
127.0.0.1) with/v1/health,/v1/snapshot,/v1/summary,/v1/workouts,/v1/nutrition,/v1/recovery,/v1/prs - Encrypted OpenHealthConnect snapshot bundle export for Syncthing, Nextcloud/WebDAV, or Tailscale-oriented transports
- Direct Pairing mode for pushing encrypted snapshot bundles straight to OpenHealthConnect via HTTP (no shared folder required)
- Nextcloud/WebDAV is supported as a first-class folder-sync path alongside Syncthing
- Schema and setup docs
./gradlew :app:assembleDebugRequirements: Android SDK installed locally (
ANDROID_HOMEorlocal.propertieswithsdk.dir).
Some PR tools reject binary files. This repo therefore excludes gradle/wrapper/gradle-wrapper.jar.
If missing after clone, regenerate with:
gradle wrapper --gradle-version 8.14.3- No cloud sync
- No analytics SDKs
- Pairing key stays on-device in encrypted storage
Licensed under the Apache License, Version 2.0. See LICENSE for details.
- Optional
INTERNETpermission in manifest for local or remote HTTP direct-upload transports - Local HTTP server binds to
127.0.0.1only