Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
import { POLICY_NAME } from './progression.js'
/**
* Presentation-only view of a progression result. The engine remains the source of truth for
* both the outcome and its explanation; this helper only makes the policy behind that result
* explicit in the workout guidance.
*/
export function progressionGuidance(plan) {
if (!plan?.why || plan.kind === 'off' || plan.policy === 'off') return null
const policyLabel = POLICY_NAME[plan.policy]
if (!policyLabel) return null
return { policyLabel, why: plan.why }
}