@cmichel/healthlog
v0.2.0
Published
`healthlog` is a TypeScript CLI that syncs Garmin and Hevy workouts plus Withings body measurements and dumps a normalized JSON view for analysis.
Downloads
343
Readme
healthlog
healthlog is a TypeScript CLI that syncs Garmin and Hevy workouts plus Withings body measurements and dumps a normalized JSON view for analysis.
Setup
Install the CLI:
pnpm add -g @cmichel/healthlogFor local development:
pnpm install
pnpm buildConfigure Garmin:
healthlog setup garminConfigure Hevy:
healthlog setup hevyGet the Hevy API key from Hevy developer settings. This requires Hevy Pro.
Configure Withings:
healthlog setup withingsCreate a Withings app in the Withings developer dashboard and register http://localhost:8088/callback as the redirect URI while the app is in integration mode. The setup command prints an authorization URL; open it in any browser, then paste the redirected URL or code back into the CLI.
Dump data:
# First sync may take a while as it syncs all activities.
healthlog dump --verbose --pretty
healthlog dump --from 2026-01-01 --to 2026-06-27