ShuttleSense
AI badminton rally analyser with pose estimation
ShuttleSense samples frames from a clip (more for longer clips), runs MediaPipe pose estimation for posture metrics, tracks player movement into a court coverage heatmap, detects the camera angle and then asks Claude for a structured coaching report at one of three depths (Haiku, Sonnet or Opus).
The part I spent the most time on is the AI proxy. Prompts are built server-side from a few structured parameters, the model list is allowlisted, and every call is tied to an analysis attempt whose call count is capped atomically in Postgres, so the endpoint cannot be turned into a general-purpose LLM relay. Token totals are written by the server from OpenRouter's responses, so a browser cannot under-report what a run cost.
Anonymous visitors get one free analysis (matched by IP or fingerprint), then buy $1 credit codes. Every attempt, whether completed, failed, rejected or abandoned, is logged with stage, error, device and token usage. Admin access is a magic-link session, and sample frames go to private storage through signed URLs.
Related
Pushd
AI workout tracker and fitness coach for iOS, Android, Apple Watch and Wear OS
- Expo
- React Native
- TypeScript
- Next.js
- Prisma
- +8
Revinsta
AI reputation management for hotels
- Bun
- TanStack Start
- React 19
- TypeScript
- Tailwind v4
- +7
NextRally
Clubs platform for racket sports with a fair court-rotation engine
- TanStack Start
- React 19
- TypeScript
- Supabase
- PostgreSQL
- +8