Turning cycling FIT files into rider reports
I track my rides with WorkOutDoors. It’s a fabulous app, has a nice UI, customised screens for different activities, Apple Watch integration, upload to Strava etc.
Recently I noticed that I can export a ride in various formats, including a FIT file. After a little bit of research, I found that pretty much everything a nerdy rider like me wants to know is sitting inside that .fit file - power, heart rate (and time in zones), elevation, cadence, every climb, GPS and route data.
It looks like there are several apps that will let you export your data as a .fit file - but then what do you do with them? Wouldn’t it be great if you could turn a folder of raw ride files into something a coach or rider can scan in thirty seconds without spending the evening in spreadsheet land..?
Interesting note: the name “FIT” isn’t used just because it’s a file extension related to fitness; it stands for “Flexible and Interoperable Data Transfer”.
Stage Debrief
As a side project, I’ve been building Stage Debrief: a small tool that takes cycling FIT files and turns them into a clean one-page debrief per rider - plus a team overview, printable PDFs, and shareable summary images. It’s a work in progress, but it’s already useful for me.

A little technical detail
The project is structured as a TypeScript monorepo with two main pieces:
- Analysis engine (Node / TypeScript): parses raw
.fitfiles, resamples irregular recordings cleanly to 1 Hz, computes Coggan Normalised Power (NP), Intensity Factor (IF), and Training Stress Score (TSS) - and falls back gracefully to hrTSS* and VAM-based climb efforts when a ride has no power data (like my own Apple Watch ride below: 46.6 km, 926 m of climbing, hrTSS 179). - Report UI (React, TypeScript, Vite): a dark-mode rider debrief view showing headline load metrics, an overlaid heart-rate/power and elevation profile with detected climbs, a climb-efforts breakdown, time-in-zones bar, and day-on-day / season comparison - plus one-click PDF and share-image export.
* While standard Training Stress Score (TSS) relies on power data and Intensity Factor (TSS = Hours × IF² × 100), hrTSS (heart rate Training Stress Score) estimates that same physiological workload using heart rate when a power meter isn’t available.
Checking the maths
Any telemetry tool is only useful when you know you can trust the numbers. For sports telemetry tools, they live or die on whether athletes and coaches trust those numbers. I don’t have a coach, or a team, but I can at least stand in for an athlete. (Calling myself an “athlete” feels a bit weird, but it’s a useful fiction.) The tool would be of no use even to me if the numbers are wrong. So, before spending much time on the UI, I validated the engine’s NP, IF, and TSS calculations against five reference rides from GoldenCheetah OpenData. I caught a subtle CSV/resampling edge case early, and once fixed, I got all five reference rides to pass. Hello, utility!
Pimp my FIT file
Since I don’t have access to a cycling team with a database of riders, currently the actually useful bit for me is the super simple rider drop-in flow - I just drag a .fit file straight into the browser and see the rider debrief immediately. Beyond reliving all the highs and lows of the ride (literally and figuratively), it gives me the things I actually want to check afterwards in one glance: where my heart rate sat across the zones, how hard each individual climb was (with VAM and gradient), and an hrTSS score so I have a real sense of how much that ride actually took out of me - even without a power meter.

What’s next
Right now it’s an early prototype with a couple of rough edges still on the list (you can spot a few overlapping climb labels on my lovely, but very steeply undulating, Cornish hills in the screenshot above!). The next step will probably be to move the FIT parser and engine into a Web Worker so the whole thing runs client-side as a static site - meaning I can deploy the demo version for other riders to try it out, and I won’t even need a backend server.