Manage data sources that power the dashboard
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.
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:
.fit files to Data/COROS/npm run parse:fitOutput: public/data/coros-summary.json
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:
Data/npm run parse:nutritionOutput: 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.