Francesco Di Costanzo
Back to projects

PeakForm

A web and iOS training journal that combines load, readiness, recovery, nutrition, planning, and provider data.

Visit project

PeakForm is a training journal for self-coached endurance athletes. It brings load, readiness, recovery, sleep, nutrition, planning, and journal context into one daily view to answer a practical question: push today, hold, or back off?

The project includes a Next.js and Supabase web app, an installable iPhone version, and a native SwiftUI companion. The main views divide the work like this:

  • Today combines recovery, load, sleep, fuel, mood, stress, and a journal note into a morning brief.
  • Training and Physiology separate session history and volume from HRV, resting heart rate, sleep, and readiness trends.
  • Nutrition tracks calories, macros, targets, and consistency.
  • Planner supports workout templates, two-week planning, structured steps, sync state, and conflict handling.

Strava and WHOOP provide activity, sleep, workout, and recovery data through authenticated sync. Intervals.icu handles planned-workout export, activity import, duplicate resolution, and matching plans with completed sessions. The data model can also store direct COLMI ring signals such as heart rate, steps, and SpO2 behind row-level security.

The iOS app uses Swift Charts, rings, heatmaps, readiness and load calculations, provider OAuth, planning views, and a 30-day report. PeakForm exists because serious self-coaching should not require assembling the day from a dozen apps.