OpenAthlete
AGPLv3 endurance training platform: EU-oriented hosting, transparent CTL/ATL/TSB logic in code, self-hosting, and full export. Built in Grenoble.
Weekly fitness fields, crew progress, and automatic scoring from the trackers you already use.
Sports & fitnessTypeScript · CSSGitHub @jerryliu3OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
Mobile-first fitness battles with automatic tracker scoring and weekly standings.
Mirrors sibling repos (goalmaxxing / Cadence, Coaching):
Copy apps/web/.env.example to apps/web/.env.local and fill Supabase / Strava values when available. Without them the UI runs on demo data and the Strava provider stubs connect/sync.
Public race leaderboards live in this same web app, on a separate Supabase project from battles. Hosted project: Race Rankings (pzadctqmyekkydteivlf, us-east-1). Local config is rankings-db/ (API port 54421, database port 54422).Read the full README ↗Mobile-first fitness battles with automatic tracker scoring and weekly standings.
Mirrors sibling repos (goalmaxxing / Cadence, Coaching):
| Layer | Choice |
|---|---|
| Mobile | Expo Router (apps/mobile) |
| Web / API | Next.js on Vercel (apps/web) |
| Data | Supabase (supabase/) |
| Shared | @fitness-battle/shared (period model, fitness providers, demo data) |
| Tracker | Strava provider abstraction with mock stub when OAuth keys are missing |
pnpm install
# Web (Vercel-shaped) — demo UI + fitness API routes
pnpm dev
# Mobile (Expo)
pnpm dev:mobile
# Local Supabase (optional). API is http://127.0.0.1:54621 so it can run next to other local stacks.
pnpm supabase:start
pnpm supabase:reset
Copy apps/web/.env.example to apps/web/.env.local and fill Supabase / Strava values when available. Without them the UI runs on demo data and the Strava provider stubs connect/sync.
Public race leaderboards live in this same web app, on a separate Supabase project from battles. Hosted project: Race Rankings (pzadctqmyekkydteivlf, us-east-1). Local config is rankings-db/ (API port 54421, database port 54422).
pnpm rankings:db:start
pnpm rankings:db:reset
The first migration is the source ledger: provider result ids when present, otherwise source + edition + name + bib + category. Finish time is not part of that key.
The public board is /rankings. Imports copy a full public results list (OpenTrack JSON, a MikaTiming list page, a CSV, or RunSignup's public results JSON), drop under-18 finishers, and write SQL under packages/rankings/imports/. See docs/ingestion.md. Set NEXT_PUBLIC_RANKINGS_SUPABASE_URL and NEXT_PUBLIC_RANKINGS_SUPABASE_ANON_KEY in apps/web/.env.local. Applying an import needs RANKINGS_DATABASE_URL.
Browsing My track / The field / Splits / Pace is open. Join / compete / Athlete / onboarding require an account.
The live product follows Focus: Home (daily suggestion and counted-session path), Arena (vertical 2D/3D lanes, registration, ghosts, and awards), Crew (shared activity and members), and Athlete (Elo and benchmarks first, then progress and settings). Stable routes remain /today, /arena, /field, and /you. See the design guide and Focus implementation notes.
Weekly periods settle on app load via rollClock (Monday midnight Eastern boundary) — there is no server cron for the local compete engine. Closed weeks write place/Elo snapshots, show a automatic two-stage round results on Compete, and accumulate a Strava-style season history on Athlete.
/signup → /onboarding (preferences → tracker link → one-time 90-day calibration)/login with safe ?next= returnpnpm dev (apps/web/.env.development and .env.local). It stays off on preview and production unless NEXT_PUBLIC_USE_DEMO_DATA=true is set there. Placeholder Supabase keys also keep a device-local session.pnpm supabase:reset loads supabase/seed.sql. Password for each account is password123:
| Use | |
|---|---|
[email protected] | Finished onboarding. Owns crew Weekday miles (WEEKLY). |
[email protected] | Finished onboarding. Crew member. |
[email protected] | Finished onboarding. Crew member. |
[email protected] | Account only. Login still opens onboarding. |
docs/integrations.mddocs/data-status.mdRun pnpm dev, then open /design to compare archived individual-first experiences (Split, Bounce, Folio, Vector, After). Evaluate directions explains the interaction models. The live product shell follows Focus (see above); /design remains a comparative lab, not production chrome.
See design directions v2 and the design guide.
Open /design/spatial for five interactive mileage comparisons: Pursuit, Distance path, Circuit, Switchback, and Week replay. Direct links use ?scene=pursuit|path|circuit|switchback|replay. These public presentation routes use synthetic data, with no account or tracker authorization required. Three of the concepts use real 3D cameras and selectable avatars; the others use calibrated distance axes and milestone replay. See the spatial study for mechanisms, evaluation tasks, and limitations.
The next exploration is /design/evolution: four complete identities (VOLT, FORM, EVEN, CURRENT) using Split's four navigation jobs, a nine-lane vertical distance track, and third-person Pursuit with a fixed starting line and customizable articulated runner. Use ?brand=even&view=field&mode=lanes or ?brand=volt&view=field&mode=pursuit. Design evolution covers brand systems, interaction choices, evaluation, and the avatar art roadmap.
Living standards live in the Project Agent Store (and are summarized in-repo):
docs/design-guide.mddocs/coding-principles.mddocs/project-context.mddocs/setup-plan.mddocs/integrations.mddocs/data-status.mdSee AGENTS.md and CONTRIBUTING.md.
The five original layout concepts remain separate from the live Focus application: web /design/structure and Expo overtaek:///structure. See the study guide for previews and interactions.