grig-teo.spaceIn development
A monorepo that powers my public site and a complete personal health pipeline. A SwiftUI app reads my COLMI R10 ring over a reverse-engineered BLE protocol (no vendor cloud), streams heart rate, SpO2, stress, HRV, sleep stages and activity into a NestJS/Postgres backend, and turns it into hourly AI tips, a recovery score, streaks, weekly digests and an AI doctor chat that can query any metric over any date range, read scanned lab results and even look at note photos via a local vision model. Ships as a Next.js site (en/ru/ro) + admin dashboard, iOS app with widget and HealthKit gap-fill, macOS tip app with notifications, and a Telegraf bot — all self-hosted on a single VPS with Docker, MinIO and nginx.
Highlights
- — Reverse-engineered COLMI R10 BLE protocol in Swift: HR, SpO2, stress, HRV, sleep stages and activity sync straight to my server — no vendor cloud
- — AI doctor (Kimi K3) with tool access to the full health DB: any metric over any date range, sleep stages, activities, notes and document scans — including viewing images
- — Hourly AI health tips from live metrics + weather correlations + journal notes (DeepSeek with on-VPS Ollama fallback)
- — Sleep pipeline with stage parsing, composite scoring, recovery score vs 14-day HRV/resting-HR baselines and deviation alerts
- — Four surfaces, one backend: Next.js 15 site (en/ru/ro) + admin dashboard, SwiftUI iOS app + widget, macOS tip app, Telegraf bot with photo/video notes
- — Self-hosted: Postgres, MinIO (public/private buckets), Ollama vision model, Docker, nginx — one VPS, zero third-party cloud
Stack
TypeScript · Next.js 15 · NestJS · SwiftUI · CoreBluetooth · HealthKit · Telegraf · PostgreSQL · TypeORM · MinIO · Docker · nginx · Kimi K3 · DeepSeek · Ollama