Apple Health

Best Self Hosted Alternatives to Apple Health

A curated collection of the 5 best self hosted alternatives to Apple Health.

Apple Health is an iPhone health hub that aggregates health and fitness data (steps, heart rate, workouts, sleep, lab results) from apps and devices, presents dashboards and trends, and manages data sharing and iCloud sync.

Alternatives List

#1
SparkyFitness

SparkyFitness

Open-source self-hosted fitness tracker for nutrition, exercise, water, and body metrics; includes AI nutrition chat, Docker deployment, web PWA and Android app.

SparkyFitness is a full-stack, open-source fitness tracking application for logging nutrition, workouts, water intake and body measurements. It provides a web PWA and an Android client, optional Garmin integration, and an AI-powered chat assistant (SparkyAI) for natural-language food logging and image-based meal recognition. (raw.githubusercontent.com)

Key Features

  • Nutrition logging with custom foods, categories and interactive charts.
  • Exercise logging and a searchable exercise database.
  • Water intake and daily check-ins to track habits.
  • Body measurements tracking with progress charts and goal management.
  • AI Nutrition Coach (chat-based food logging, image uploads, chat history).
  • Web PWA, Android mobile app, optional Garmin microservice, and Docker-based deployment. (raw.githubusercontent.com)

Use Cases

  • Individuals or families who want a self-hosted alternative to commercial fitness trackers.
  • Users who want AI-assisted food logging and image recognition for meal entries.
  • Developers and self-hosting enthusiasts deploying a full-stack app using Docker and PostgreSQL. (codewithcj.github.io)

Limitations and Considerations

  • Several features are noted as beta/under heavy development (AI Chatbot, multi-user/family access, Apple Health sync); expect potential breaking changes and migration work during upgrades.
  • The project is intended for self-hosting and requires configuring environment variables, database migrations, and optional external API keys for food providers. (raw.githubusercontent.com)

SparkyFitness is a comprehensive, privacy-focused option for users who prefer to self-host their fitness data, offering a modern React front end, Node/Express backend and PostgreSQL storage with Docker deployment support. (codewithcj.github.io)

2kstars
86forks
#2
Hauk

Hauk

Open-source self-hosted real-time location sharing backend with in-memory storage, temporary share links, a Docker image and companion mobile clients.

Hauk is an open-source, self-hosted service for sharing your location in real time. It provides a PHP backend that stores location data in memory and a web frontend; companion mobile clients (Android and community iOS clients) connect to your server to start temporary share sessions.

Key Features

  • PHP-based backend designed to run on a standard PHP web server
  • Uses Memcached or Redis for in-memory storage of live location data (no disk persistence by default)
  • Generates temporary, randomly generated share links for real-time tracking sessions
  • Companion mobile clients (official Android client; third-party/official iOS clients exist) to start and manage shares
  • Official Docker image and docker-compose support for easy deployment; distribution packages available (e.g., Arch AUR)
  • Optional LDAP authentication support and configurable session expiration and permissions
  • Demo instance provided for quick testing (demo instances impose short retention limits)

Use Cases

  • Temporarily share your live location with friends or family while en route
  • Real-time location updates for meetups, deliveries, or small events without third-party tracking
  • Privacy-focused short-term tracking where location data should not be stored long-term

Limitations and Considerations

  • Requires a separate Memcached or Redis service and the corresponding PHP extension; location data is kept in memory and is lost on cache restart
  • No built-in TLS termination in the backend; a reverse proxy (e.g., nginx) or external TLS termination is recommended for production deployments
  • Demo/public instances are intentionally limited (short retention) and may route traffic through third-party CDNs for DDoS protection
  • Companion app requirements vary; the Android client requires Android 6.0+ and store availability may vary by platform

Hauk is a lightweight option when you need ephemeral, self-hosted location sharing with minimal server footprint. It is optimized for privacy by avoiding disk storage and by giving operators control over hosting and retention.

876stars
78forks
#3
Exercise Diary

Exercise Diary

Web-based workout diary that visualizes activity as a GitHub-style year heatmap. Built in Go, configurable via file or env, Docker-ready with optional authentication and themes.

Exercise Diary is a lightweight web application for recording and visualizing workouts using a GitHub-style year heatmap. It provides a simple browser UI for entering sessions, viewing yearly activity, and browsing workout entries.

Key Features

  • GitHub-style year heatmap visualization for quick activity overview
  • Web-based GUI with configurable themes (Bootswatch-based) and light/dark color modes
  • Built in Go with a single data directory for storage and settings configurable via config file or environment variables
  • Docker image and docker-compose-friendly packaging for easy deployment
  • Optional session-cookie authentication with bcrypt-hashed password support and configurable session expiry
  • Charts for session details powered by client-side charting libraries; pagination and timezone configuration
  • Option to run with local assets to avoid external network dependencies

Use Cases

  • Personal workout logging and long-term activity tracking with a compact visual overview
  • Quick review of training frequency over weeks, months, and full years for athletes or hobbyists
  • Local, private deployment for individuals or small groups who want a simple self-hosted tracker

Limitations and Considerations

  • Designed primarily for single-user or small-scale personal use; not intended as a multi-tenant or high-scale service
  • Stores data in the local data directory and relies on file-based storage, which may limit advanced querying or scaling
  • By default it fetches themes and fonts from the web unless configured to use local assets

Exercise Diary is focused on simple, private workout tracking with an emphasis on visualizing activity over time. It is lightweight to deploy and configurable for local-only environments or small personal servers.

435stars
16forks
#4
Wingfit

Wingfit

Privacy-first, self-hosted web app for planning workouts, logging sets, tracking personal records and importing smartwatch data. Built with Angular frontend and FastAPI backend.

Wingfit screenshot

Wingfit is a minimalist, privacy-first web application for planning workouts, logging sets/reps/weights and tracking personal records (PRs). It focuses on clear progress visualization and can ingest smartwatch data to augment logging.

Key Features

  • Structured workout planning and session templates for sets, reps and weights.
  • Persistent tracking of personal records and progress visualizations.
  • Ability to leverage/import smartwatch data to enrich workout logs.
  • Privacy-first design with no telemetry or tracking; data is stored on the host.
  • Simple deployment using Docker and a provided docker-compose configuration (volume-backed storage).
  • Optional configuration for external authentication (OIDC) and environment-based settings.

Use Cases

  • Individuals who want a lightweight, self-hosted tool to plan and log strength training sessions.
  • Athletes who want a private, local record of PRs and progress visualizations without cloud telemetry.
  • Users who collect smartwatch activity data and want to import it into a focused workout/PR tracker.

Limitations and Considerations

  • Wingfit is intentionally minimal: it focuses on workouts and PR tracking and does not provide built-in nutrition, social features, or a full gym management suite.
  • The primary storage option is SQLite by default; this is convenient for single-instance/self-hosted use but may not suit large multi-user deployments without migration to a different database.
  • There is no first-class mobile/watch app bundled; smartwatch data is leveraged/imported rather than relying on a native companion app.

Wingfit is distributed under a license that permits modification and sharing for non-commercial use. The project is open-source, actively maintained on GitHub, and provides a live demo and Docker images for quick evaluation and deployment.

434stars
14forks
#5
Mere Medical

Mere Medical

Self-hosted personal health record (PHR) that aggregates and syncs medical records from multiple patient portals into a local, privacy-first web app.

Mere Medical screenshot

Mere Medical is a self-hosted personal health record (PHR) web application that aggregates and syncs medical records from multiple patient portals into a single timeline and summary interface. It is designed to be local-first and privacy-focused so core functionality can work offline and data can be stored and controlled by the user.

Key Features

  • Aggregates and syncs records from many patient portals and major EMR vendors, including Epic, Cerner, Veradigm, OnPatient/DrChrono, and VA sandbox integrations
  • Timeline view and quick summaries to browse clinical encounters, medications, labs, and documents
  • Local-first, offline-capable architecture with optional server-side components for syncing and multi-device use
  • OAuth2-based integrations requiring provider client credentials for secure API access
  • Docker-ready deployment and local development using an Nx monorepo and TypeScript stack
  • Privacy-first defaults and user control over data storage and sharing

Use Cases

  • Consolidate a patient's scattered medical records into a single, searchable timeline for personal use or clinical review
  • Maintain a portable, local-first PHR for visits, second opinions, or transitions of care
  • Automate periodic syncing from multiple hospital portals to keep records up to date without relying on third-party services

Limitations and Considerations

  • Connecting to many EMR providers requires registering OAuth client credentials with each vendor and configuring environment variables; setup can be technical
  • VA production access and some provider integrations may be limited or require sandbox credentials; feature availability depends on provider APIs
  • Not a turnkey HIPAA compliance solution out of the box; deployment, hosting, and operational controls determine regulatory compliance

Mere Medical is aimed at users who want a privacy-conscious, self-hosted PHR with offline capabilities and broad portal coverage. It is actively developed and geared toward technically comfortable users or administrators who can manage OAuth client setup and containerized deployments.

245stars
24forks

Why choose an open source alternative?

  • Data ownership: Keep your data on your own servers
  • No vendor lock-in: Freedom to switch or modify at any time
  • Cost savings: Reduce or eliminate subscription fees
  • Transparency: Audit the code and know exactly what's running