Nightstand
A nightly check-in for my habits and tasks, with streaks and trends, and my fitness tracker’s recovery data pulled in automatically.
- Type
- Software
- Year
- 2026
- Built
- 22 to 25 October 2026
- My part
- What to track, how a day should close, and the look (I rejected the first design for looking generic)
- Built with
- Claude Code (AI coding assistant)
- Tools
- JavaScript, a small database, Node.js, the WHOOP and Strava APIs
The idea
I wanted a short routine each night: tick off the day’s habits, note tomorrow’s tasks, and see how my sleep and recovery line up with what I did.
How it works
Nightstand is a single web page with its own small database. Each habit has the days of the week it applies to, and some carry a plan with sets and targets for each weekday. Closing a day saves its score and a note, and the page keeps streaks and trends over the weeks.
Getting the data in
There was no ready-made way to get my WHOOP recovery data into the page. I set up a small bridge, a Node.js program with no outside libraries, that signs in to WHOOP’s API and hands each day’s recovery, heart-rate variability, resting heart rate, sleep and strain to the page, which saves them by month. A link to Strava is set up to tick off the workout habit when a workout is logged.
The look
The first version had cards in navy and periwinkle, and it looked like every AI-made app. I changed it to look like a terminal log: one monospace font, amber on near-black, [x] checkboxes, and a streak grid drawn with block characters.
What I’d do next
Learn which habits actually move my recovery, now that there are weeks of data to compare.