Self-hosted wearable data aggregator. Collect, unify, and visualize health metrics from multiple devices in one beautiful dashboard.
- Multi-Device Support: Apple Health, Garmin, Whoop, Oura, Fitbit, Withings, Amazfit, Renpho
- Vitality Age: Unique animated fitness score based on your health metrics
- Trend Analysis: 30-day charts for HR, HRV, Steps, Sleep
- Profile System: PIN-protected user profiles
- Privacy First: 100% self-hosted, your data stays with you
- Modern UI: Dark theme, responsive design, smooth animations
| Metric | Apple Health | Garmin | Whoop | Oura | Fitbit |
|---|---|---|---|---|---|
| Heart Rate | ✅ | ✅ | ✅ | ✅ | ✅ |
| Resting HR | ✅ | ✅ | ✅ | ✅ | ✅ |
| HRV | ✅ | ✅ | ✅ | ✅ | ✅ |
| Sleep | ✅ | ✅ | ✅ | ✅ | ✅ |
| Steps | ✅ | ✅ | ✅ | ✅ | ✅ |
| SpO₂ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Weight | ✅ | ✅ | - | ✅ | ✅ |
| Body Fat | ✅ | - | - | - | ✅ |
- Node.js 18+
- SQLite3
git clone https://github.com/malik3d/Wearsync.git
cd Wearsync
# Backend
cd backend
npm install
cp .env.example .env
npm start
# Frontend (new terminal)
cd frontend
npm install
npm run buildAccess at http://localhost:3000
- Open Health app → Profile → Export All Health Data
- Upload the
Export.xmlfile in WearSync → Import
- Go to Garmin Account
- Export your data as ZIP
- Upload in WearSync → Import
PORT=3000
JWT_SECRET=your-secret-key
DATABASE_PATH=./data/wearsync.dbYour Vitality Age is calculated from:
- Resting Heart Rate: Lower is better (athletes: <50 bpm)
- HRV: Higher is better (>50ms is excellent)
- Daily Steps: 10k+ steps optimal
- Sleep Duration: 7-9 hours optimal
- Apple Health Import (Streaming XML Parser)
- Garmin ZIP Import
- Profile System with PIN
- Vitality Age Animation
- Responsive Dashboard
- Withings OAuth Integration
- Whoop OAuth Integration
- Daily/Weekly Reports
- Export to CSV/PDF
MIT © malik3d
