HatRack in Your Pocket
Taking the hatrack mobile
June 28, 2016
The first version of HatRack lived at hatrackapp.com — a set of HTML pages with jQuery and draggable tokens. It worked on a laptop. On a phone, it was unusable. The tokens were too small to drag. The images didn’t scale. The timer was a link to someone else’s website that opened in a popup window.
But a phone is where you actually need a focus tool. Not at your desk with three monitors — you’re already working there. It’s the in-between moments. Waiting for an appointment. Sitting on the couch after dinner. Ten minutes before you have to leave. That’s when you need something to say: here, do this, for this long. Go.
So I rebuilt HatRack from scratch as a mobile-friendly single-page app and put it at m.hatrackapp.com. Mithril.js on the frontend, Node and Express on the backend, deployed to Heroku. The whole thing fits on a phone screen.

The core idea didn’t change — add your hats, start a focus session, wear one hat at a time. But the experience is completely different. Tap “Focus Session” and the app picks a random hat from your list and rolls a random number of minutes between 1 and 25. A countdown timer starts right on the screen, big enough to see from across the room. When it hits zero, you earn points and the app asks if you want to wear the same hat again or move on.
No more dragging tokens. No more popup windows. No more switching tabs. You tap one button and you’re working.
The old version tried to do too much — daily, weekly, and monthly tiers, micro goals, draggable sliders, even a physical product you could order. The mobile version does one thing: pick a hat, start a timer, do the work. Turns out that’s the whole app. Everything else was decoration.
Your phone is already in your pocket. Now the hatrack is too.