grig-teo:~$
← back home

/projects

Real-time debate platform (WebRTC, iOS, Android, AI) and P2P grocery marketplace (Next.js, NestJS, Stripe, maps). End-to-end full-stack delivery.

grig-teo.space

In 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

TypeScript · Next.js 15 · NestJS · SwiftUI · CoreBluetooth · HealthKit · Telegraf · PostgreSQL · TypeORM · MinIO · Docker · nginx · Kimi K3 · DeepSeek · Ollama

Touchstone

In development

AI coding agents are great at writing code but can't tap through a real app on a real phone. Touchstone closes that gap: an agent creates a test task over a REST API (or MCP), human testers pick it up on real devices and submit structured reports with video/screenshot evidence uploaded via presigned S3 URLs. Includes a full economy (budgets, multi-currency accounts with CBR FX conversion, tester ledger, withdrawals, payouts via Alfa/Stripe) and a trust & safety layer — an evidence-analysis worker, report corroboration, tester streaks and honeypot tasks that catch farming. Ships with developer and tester dashboards (Next.js, i18n) and an MCP server so agents plug in with order_test/get_report.

Highlights

  • Pure REST API for agents (X-API-Key) + MCP server exposing order_test/get_report — agents order human tests like any other tool call
  • Task lifecycle state machine with slot matching, review flow, and structured report schemas (report/v1, versioned JSON)
  • Evidence pipeline: presigned S3 uploads of screen recordings/screenshots, analyzed by a dedicated worker
  • Trust & safety: report corroboration across testers, streak scoring, and honeypot tasks to catch fraud
  • Full payment loop: budget top-ups (Alfa/Stripe), multi-currency accounts with CBR FX at approval, tester ledger, withdrawals and payouts
  • FastAPI + PostgreSQL/Alembic + Redis worker + MinIO, Next.js dashboards with i18n, Docker compose + nginx on my VPS

Python · FastAPI · Next.js 14 · React 18 · PostgreSQL · Alembic · Redis · MinIO/S3 · MCP · Stripe · Docker · nginx

Projects | WebRTC, Mobile & Marketplace Apps