← All projects

FitnessTracker

The watch records. This app remembers, and does the maths.

2026 Personal project GitHub ↗

Overview

FitnessTracker is a native SwiftUI + SwiftData app for iOS and macOS built around one workflow: a Suunto watch records, the FIT file lands on the Mac, and the app stores and analyses it. No live GPS tracking, no accounts, no backend — drop a file or a whole folder onto the window, or point it at the folder your watch app exports to and new workouts import themselves.

Imports are idempotent by design: FIT files dedupe on a content hash, so the same ride exported twice under different names is one workout, and re-scanning a folder of a hundred files imports nothing. Strava (own-app OAuth with rotating refresh tokens) and intervals.icu sync pull activities and backfill per-second streams inside the rate limits.

On top sits the analysis: training load on one stress scale across every sport with fitness, fatigue and form curves; Normalized Power, Intensity Factor and TSS for rides; SWOLF for swims; Riegel race predictions; best efforts from 1 km to the marathon; a readiness score from HRV, resting heart rate and sleep; and a tap-to-build route planner with GPX export. Every formula is pinned by tests against the identity it claims — one hour at FTP is TSS 100.

Highlights

Tech stack

Swift SwiftUI SwiftData Swift Charts HealthKit XcodeGen