Update Data

Manage data sources that power the dashboard

Notion

Workout Logs

Workout data is fetched from Notion via the API with ISR (1-hour revalidation). Use the button below to force an immediate refresh without waiting for the cache to expire.

COROS

FIT Files · Cardio Data

Cardio and heart rate data is parsed from FIT files exported by the COROS watch. Currently tracking 917+ activity files.

Steps to update:

  1. Export FIT files from the COROS app
  2. Add new .fit files to Data/COROS/
  3. Run npm run parse:fit

Output: public/data/coros-summary.json

MacroFactor

Nutrition CSV

Calorie and macro data is parsed from a CSV export from the MacroFactor app. This feeds the nutrition charts and calorie trend analysis.

Steps to update:

  1. Open MacroFactor → Export Data as CSV
  2. Place the CSV in Data/
  3. Run npm run parse:nutrition

Output: public/data/nutrition.json

Rebuild & Deploy

After updating COROS or MacroFactor data (static JSON files), push changes to GitHub. Vercel will automatically rebuild and deploy the updated dashboard.

$ git add public/data/

$ git commit -m "update data"

$ git push

Notion data does not require a redeploy -- it refreshes via ISR and on-demand revalidation.