Skip to content

synheart-ai/swip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWIP Protocol

Synheart Wellness Impact Protocol (SWIP)

"Technology should adapt to human physiology, not the other way around."

The Synheart Wellness Impact Protocol (SWIP) is an open, cross-platform framework that enables applications to quantitatively assess their impact on human wellness using biosignal-based metrics.

Overview

SWIP provides developers with the tools to:

  • Capture anonymized heart-rate and HRV data from wearable or phone sensors
  • Analyze session-level changes in physiological metrics
  • Determine whether user interactions produce beneficial, neutral, or harmful physiological outcomes
  • Earn Heart-Verified Certification (HVC) for apps that demonstrably enhance user wellness

Current Status

🚧 In Development - This project is currently in early development phase.

What's Available

  • SWIP-1.0 Specification - Complete protocol definition
  • swip-core-dart - Dart/Flutter scoring engine (v0.1.0)
  • swip-core-kotlin - Kotlin/Android scoring engine (v0.1.0)
  • swip-core-swift - Swift/iOS scoring engine (v0.1.0)
  • swip-dart - Flutter SDK with synheart_wear integration
  • swip-kotlin - Android SDK (basic implementation)
  • swip-swift - iOS SDK (basic implementation)
  • swip-dashboard - Public transparency dashboard (active)
  • Project Structure - Organized repository with proper documentation
  • CI/CD Pipeline - GitHub workflows for testing and validation

What's Coming

  • 🔄 React Native SDK - React Native implementation
  • 🔄 swip-app - End-user wellness tracking app
  • 🔄 HRV Validator - Data validation tools
  • 🔄 SWIP CLI - Command-line certification client
  • 🔄 SWIP Simulator - Test data generation

Quick Start (Flutter)

import 'package:swip/swip.dart';

final swip = SWIPManager();
await swip.initialize();

final sessionId = await swip.startSession(
  config: SWIPSessionConfig(
    duration: Duration(minutes: 30),
    type: 'baseline',
    platform: 'flutter',
    environment: 'indoor',
  ),
);

final results = await swip.endSession();
print('Wellness Impact Score: ${results.wellnessScore}');

Repository Architecture

The SWIP ecosystem consists of several repositories:

Core Libraries

  • swip (this repo) - Protocol specification, RFCs, and reference documentation
  • swip-core-dart - Core scoring engine for Flutter/Dart ✅ (v0.1.0)
  • swip-core-kotlin - Core scoring engine for Android/Kotlin ✅ (v0.1.0)
  • swip-core-swift - Core scoring engine for iOS/Swift ✅ (v0.1.0)

Platform SDKs

  • swip-dart - Flutter SDK (integrates swip-core-dart + synheart-wear + synheart-emotion)
  • swip-kotlin - Android SDK with Health Connect integration
  • swip-swift - iOS SDK with HealthKit integration
  • swip-python - Python SDK for server/desktop applications

Applications

  • swip-app - End-user mobile app for tracking wellness impact of apps (planned)
  • swip-dashboard - Public transparency dashboard for aggregated wellness data

Data Flow

Wearable Device (Apple Watch, Health Connect)
         ↓
synheart-wear (biosignal collection)
         ↓
swip-core (HRV features + ML scoring)
         ↓
Platform SDK (swip-dart/kotlin/swift)
         ↓
   ┌────────────────┐
   ↓                ↓
swip-app      swip-dashboard
(user tracking)  (public transparency)

Documentation

Hardware Integration

SWIP uses synheart_wear for unified biometric data collection from multiple wearable devices:

  • Apple Watch
  • Fitbit
  • Garmin
  • Whoop
  • Samsung Watch
  • And more...

Specification

The complete SWIP-1.0 specification is available in specs/SWIP-1.0-Spec.md.

Contributing

We welcome contributions! Please see our Contributing Guide and Code of Conduct for details.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Author

Israel Goytom - Synheart Open Council (SOC)


"The heart is the most honest sensor. If our machines can feel its rhythm, they can finally serve humanity instead of consuming it."

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages