back to home

the-momentum / open-wearables

Self-hosted platform to unify wearable health data through one AI-ready API.

1,060 stars
135 forks
119 issues
PythonTypeScriptMDX

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing the-momentum/open-wearables in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/the-momentum/open-wearables)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Open Wearables --- **Documentation**: https://docs.openwearables.io --- Open-source platform that unifies wearable device data from multiple providers and enables AI-powered health insights through natural language automations. Build health applications faster with a single API, embeddable widgets, and intelligent webhook notifications. What It Does Open Wearables provides a unified API and developer portal to connect and sync data from multiple wearable devices and fitness platforms. Instead of implementing separate integrations for each provider (e.g., Garmin, Whoop, Apple Health), you can use a single platform to access normalized health data and build intelligent health insights through AI-powered automations. > [!IMPORTANT] > **For Individuals**: This platform isn't just for developers - individuals can self-host it to take control of their own wearable data. Connect your devices, explore your health metrics through the unified API, and stay tuned for upcoming features like the AI Health Assistant and personal health insights automations. Best of all, your data stays on your own infrastructure, giving you complete privacy and control. Why Use It **For Developers building health apps:** • 🔌 Integrate multiple wearable providers through one API instead of maintaining separate implementations • 📊 Access normalized health data across different devices (heart rate, sleep, activity, steps, etc.) • 🏠 Self-hosted solution - deploy on your own infrastructure with full data control • 🚀 No third-party dependencies for core functionality - run it locally with • 🤖 Build AI-powered health insights and automations using natural language (coming soon) • 🧩 Embeddable widgets for easy integration into your applications (coming soon) **The Problem It Solves:** Building a health app that supports multiple wearables typically requires: • Significant development effort per provider (Garmin, Whoop, Apple Health, etc.) to implement OAuth flows, data mapping, and sync logic • Managing different OAuth flows and APIs for each service • Handling various data formats and units • Maintaining multiple SDKs and dealing with API changes Open Wearables handles this complexity so you can focus on building your product 🚀 Use Cases • 🏃 **Fitness Coaching Apps**: Connect user wearables to provide personalized training recommendations. Running coaches can create users, share connection links via WhatsApp, and test AI insights capabilities • 🏥 **Healthcare Platforms**: Aggregate patient health data from various devices and set up automations for health alerts • 💪 **Wellness Applications**: Track and analyze user activity across different wearables with AI-powered insights • 🔬 **Research Projects**: Collect standardized health data from multiple sources • 🧪 **Product Pilots**: Non-technical product owners can test platform functionality by sharing connection links with users without needing their own app • 👤 **Personal Use**: Individuals can self-host the platform to connect their own wearables, chat with their health data using the AI Health Assistant, and set up personal health insights - all with complete data privacy and control Getting Started Get Open Wearables up and running in minutes. • **Clone the repository:** • **Configure environment variables:** **Backend configuration:** **Frontend configuration:** • **Start the application** **Using Docker (Recommended):** The easiest way to get started is with Docker Compose: For local development setup without Docker take a look at docs • **Log in to the developer portal:** An admin account is automatically created on startup using the and environment variables (defaults: / ). Open http://localhost:3000 to access the developer portal and create API keys. • **Seed sample data** (optional): If you want test users and sample activity data: This will create: • Test users • Sample activity data for test users • **View API documentation:** Open http://localhost:8000/docs in your browser to explore the interactive Swagger UI. Core Features Developer Portal Dashboard Web-based dashboard for managing your integration: • 📈 **General Statistics**: View number of users and data points at a glance • 👥 **User Management**: Add users via the portal or through the API • 📋 **User Details**: View connected data sources, integration status, and user metrics with visualizations • 🔑 **API Key Management**: Generate and manage credentials in the Credentials tab Health Insights & Automations (coming soon) The platform's most powerful feature - define intelligent health insights using natural language: • 💬 **Natural Language Conditions**: Describe when notifications should be triggered in plain English • 🔔 **Webhook Notifications**: Configure your backend endpoint to receive real-time health insights • 🧪 **Test Automation**: Run dry runs on historical data to see how automations work in practice • 👤 **Human-in-the-Loop**: Mark incorrect AI interpretations during testing to continuously improve the system • ✨ **Improve Description**: AI-powered suggestions to refine your automation descriptions • 📜 **Automation Logs**: Review past automation triggers and provide feedback AI Health Assistant (coming soon) • 💬 Interactive chat interface for debugging and exploring user data • 🧩 Embeddable widget that can be integrated into any app with just a few lines of code • 🔄 Customizable AI models (swap models to match your needs) • 🔍 Natural language queries about user health metrics Unified API Access health data through a consistent REST API regardless of the source device. Provider Support • ☁️ **Cloud-based**: Garmin, Suunto, Polar (more coming soon!) • 📱 **SDK-based**: Apple HealthKit, Samsung Health, Google Health Connect OAuth Flow Management Simplified connection process for end users: • Generate a connection link for your user (or use the SDK widget) • User authenticates with their wearable provider • Data automatically syncs to you…