projects · commute-tracker
A hybrid schedule turns "how bad is traffic" into a decision you make ten times a week. commute-tracker collects real corridor timings around the clock, learns the shape of each day, and answers the only two questions that matter: which office days cost the least, and when to leave. Verdict it settled: the new office runs ~1.8–1.9× the old commute — so the answer is a plan, not a feeling.
The product
The layout is a three-tier answer machine: the verdict now, the trends that justify it, and the exploration layer underneath.
A SwiftUI app (plus home-screen widget and watch app) ships through TestFlight — and it's not just a viewer. The phone is the platform's ground truth: it records actual drives in the background (battery-friendly coarse GPS) and uploads them, so predictions are continuously checked against real trips rather than trusted on faith. It talks to the server over an authenticated API designed so the phone works from anywhere without weakening the SSO front door.
Lessons
The map is the page's least important widget and most fragile dependency, so when WebGL isn't available it fails to a single honest sentence while every number keeps working.
The corridor map carries traffic in a single hue — darker means slower. That rule, made here, became house law on the styleguide.
Letting the LAN read freely while routing every mutation through the SSO surface became the platform's trust-surfaces pattern.