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
Antitoxic61851 reply#
you seem to be leaking your access token for mapbox.com api?

'pk.eyJ1IjoiZnJpZ2dlcmkiLCJhIjoiY21jbHdmZmZmMGV3dTJpcHR5cWcwOHhzdyJ9.Z-XMMh_nFDjm8FUyB2tZ_w'

hotdogsalesman#
pk usually means publishable key - should be fine
throwaway20372 replies#
First, congrats on your self discipline.

Second: About running just one mile in a single day: Does have any physical benefit? (Yes, I know you run more than one mile on many days.) It would take more time to change in to/out of your clothes and shoes than run a mile. Plus it only burns 100 cals. Can you imagine someone writing here that they only swim 9 mins per day... Or bike 9 mins per day?

calcifer1 reply#
> Does have any physical benefit?

Compared to what? Sitting on the couch, snacking on chips? Of course.

xenocratus#
Compared to letting your body fully rest during that day (perhaps in between longer runs).
fivestones#
Yes. It does have physical benefit.

Here’s a study called “Minimum amount of physical activity for reduced mortality and extended life expectancy: a prospective cohort study” https://pubmed.ncbi.nlm.nih.gov/21846575/
From the abstract: “Compared with individuals in the inactive group, those in the low-volume activity group, who exercised for an average of 92 min per week (95% CI 71-112) or 15 min a day (SD 1·8), had a 14% reduced risk of all-cause mortality (0·86, 0·81-0·91), and had a 3 year longer life expectancy.”
Of course 1 mile a day is less than 15 minutes for most people, but that 92 min per week is just 13 minutes 9 seconds per day. I’m guessing with the long runs he’s over this when measured weekly.
There are other corroborating studies too.
Here’s from “Association between Bout Duration of Physical Activity and Health: Systematic Review” (https://pmc.ncbi.nlm.nih.gov/articles/PMC6527142/)
“Additional evidence was identified from cross-sectional and prospective studies to support that bouts of physical activity <10 minutes in duration are associated with a variety of health outcomes…The current evidence, from cross-sectional and prospective cohort studies, supports that physical activity of any bout duration is associated with improved health outcomes, which includes all-cause mortality.”

joduplessis#
I'm not running so much anymore (foot injury) - but for the last 15 years I've spent an hour+ on the road or in the gym 5 - 6 (sometimes 7) days a week. Also through sickness, injury, etc. It's changed the way I view being alive and healthy - I actually consider it "chronic medication" :) Kudos to the OP though - that's some mad dedication.
brnaftr361#
I love this, kinda vindicated my behaviors. I won't run in thunderstorms and I have trouble justifying getting out once the temperature tips above 80. Looking at such a disciplined runner I see similar traits. Unfortunately these are both frequent occurances where I live.

Of course that may also just be due to locale.

Load more comments