Show HN: Ten years of running every day, visualized (opens in a new tab)nodaysoff.run
958 pointsRunning has truly changed my life: I've made lifelong friends, explored beautiful places, and more importantly invested into my own health and fitness, which I'm starting to see the positive benefits as I get older.
The stack is pretty simple: a NextJS app, with a Postgres database to keep all my running data, and all the stats are pre-computed and cached in Redis, so I effectively only hit the database once a day when a new run is ingested. On the fronted, I toyed with the idea of using D3 or pre-existing data viz libraries, but ended up rolling my own using SVGs directly, it gave me more control on the visualizations.
I used the Strava bulk export to pre-populate the database, and I'm using their webhook API to do incremental updates. I have to tap into OpenWeatherMap and OpenCageDate to enrich the running data a little bit.
Happy to answer anything about the stack, data pipeline, or how I stayed motivated for 10 years!
[1] https://www.runeveryday.com Run Streak Association rules: ≥ 1 mile per day

Comments (495) 108 threads
Earlier commentsI've been on an unbroken rowing streak (Concept2) since December last year. Half hour per day mandatory, no rest days. Typical distance rowed is 6.5-8km. There are days where I "take it easy" but I still force a minimum distance of 6.5km regardless of how long it takes. My rationale for using the C2 is the lower impact and the fact that it resides inside a climate controlled building. These factors help reduce the possibility of excuse making.
I found that taking even one day off is all it takes to throw my discipline into a death spiral. Making it a required thing no matter what changes the psychology and game theory. It has become entirely a background concern after day 90 or so. There are days where I have to row and then do hours of yard work. The first two weeks of Texas summer almost got to me. But, this too has become a background concern. I can wake up, row 30 minutes, landscape for 2 hours, and then write code or post on HN until the sun goes down. No naps, stimulants or motivational speeches required.
Not overthinking the exercise is a big part of not falling off the wagon. If you wrap yourself around that post it can really discourage you. Perfect is the enemy of really, really good things.
In the very rare occasions I don't have a phone I vividly remember what I've eaten and will record it later.
Continue this thread — 1 reply
Continue this thread — 1 reply
But a 1 mile run mean you've put your shoes on, went outdoor, were active and it feels extremely doable for anyone. I'm wondering if I walk at least 1 mile each day, if not, I definitely should!
Thanks for the share!
Continue this thread — 1 reply
All comments shown.
Couldn't load more comments. Check your connection and try again.