Recommended production flow
- ProRefuel generates a replay payload for an activity.
- The activity card adds an Open Replay action.
- The action opens replay.prorefuel.app/r?source=....
- Replay fetches the payload server-side and renders the viewer.
This service renders the interactive map replay layer for ProRefuel. The core app remains the source of truth for athlete profile, Strava ingestion, fueling intelligence, and nutrition logic. Replay only consumes a prepared payload and turns it into an analysis-first, visual experience.
GET /r?source=<url-encoded ProRefuel replay payload endpoint>The exact payload contract lives in src/lib/replay-payload.ts and is documented in the included README.