Hi, I'm Matt. I like making things.
I manage engineering teams at CallRail, ran web engineering at weather.com before that, and started out as a designer. These are the things I make on the side.
I manage engineering teams at CallRail, ran web engineering at weather.com before that, and started out as a designer. These are the things I make on the side.

A minimal countdown timer that survives a backgrounded tab, a reload, and going offline.
A focus timer with one job: show the time left, correctly, without asking anything of you. No accounts, no sync, no notifications to grant.
Browsers throttle timers in background tabs. A naive countdown that decrements on an interval silently loses minutes the moment you switch away — which is exactly when a focus timer is being used.
The countdown is anchored to the wall clock rather than to a tick counter: while running, an endsAt timestamp is authoritative and the remaining time is derived for display; while paused, the relationship inverts. Throttling can then only cost you frame rate, never accuracy.
All state transitions live in pure functions, with the clock read outside the state updaters so they stay deterministic and testable. Persistence goes through a single fault-tolerant localStorage wrapper — Safari private mode and quota exhaustion both throw, and a timer should not crash because storage said no.
0 driftThe timer stays accurate across backgrounded tabs, reloads, and offline periods. A build-time-generated service worker makes even the first visit offline-capable.