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

Earlier comments
no-reply#
Fascinating. I wonder if this is all run time or a mix of running+walking? I started running recently three days a week and this is my schedule-walk 5 mins , run 22 minutes, walk 5 minutes, another 22 min run, and then a final 5 min walk.

I cover about ~4 miles or so depending on my pace. I increase my running duration every other week by a few minutes.

shahzaibmushtaq2 replies#
You collected and logged all 3653 days of data through a device or manually by typing/saving it where initially (excel sheet) after each new run?

The details are astonishing.
Can you tell how you managed all of this so gracefully? Were you working on this idea from day 1? When did you buy this domain?
You even saved and displayed a few dozen live map coordinates as well from 2016 onwards.

dmazin1 reply#
Strava and GPS watches and Apple Watch make this really easy, even back in 2015.
shahzaibmushtaq#
Thank you! I wanted to know from the author.
import#
Most of the well known GPS watches supports GPX exports.
serial_dev#
I really appreciate the website, it's amazing!

How do the runs end up on the dashboard? Is that Apple Watch / Strava data that you automatically or manually export? How many different systems did you have to integrate? I assume you don't necessarily used the same app or watch to track your running ten years ago that you use today?

piyiotisk#
I am interested in your experience with nextjs vs vanillajs, html etc. the site seems simple enough that it could be done using just html etc. I have this dilemma, using vanillajs vs react. If you can share your thought process it would be awesome. Thanks and congrats on the 10 years of running!

Load more comments