Lurker News
Today marks ten years, 3653 consecutive days, of running at least one mile every day under the USRSA rules [1]. To celebrate, I built an interactive dashboard that turns a decade of GPX files into charts you can explore.

Running 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

Show all comments

Showing thread 14 of 108

HexPhantom2 replies#
Streak culture is motivating, but I always wonder where the line is between discipline and obsession. Still, there's something powerful about building a routine that becomes part of your identity
HeartStrings1 reply#
Stop treating obsession like a bad thing. That’s the only way how you get at front page of hackernews.
jdefr892 replies#
As someone with severe OCD my entire life... Trust me its a bad thing.
puppymaster#
I am gonna blame your OCD for the malfunctioned sarcasm detector.
fivestones#
But obsession and OCD aren’t equivalent.
SketchySeaBeast1 reply#
I've always found obsession to turn into resentment. For myself I need to give myself permission to take a day off and find a schedule that works for me.
Breza#
Different approaches work for different folks. When I was new to running, I had a good streak going for a long time. Now that I'm training for ultras, I focus on quality training, which can mean spending a Saturday playing with my daughter and not thinking about running. My focus has shifted to weekly mileage and Garmin-dictated training load.