Skip to content

alchemydc/launchcontrol

Repository files navigation

launchcontrol_gh

PCA Launch Control

A community web platform for the Porsche Club of America Rocky Mountain Region — autocross results, season standings, and event media.

Live at launchcontrol.club — see the 2026 RMR season standings, per-event leaderboards, and driver progression charts.

What's here

  • Per-event leaderboards (raw, PAX, and per-class)
  • Season-long points standings (best 4 of 7 events per class)
  • Per-driver progression charts across the season
  • SmugMug event gallery links (RMR-configured for MVP; extensible to any SmugMug-using club)
  • MSR single-sign-on (coming — blocked on MotorsportReg credentials)

Stack

Next.js · TypeScript · Tailwind · shadcn/ui · Prisma · Turso (libSQL) · Vercel

Quickstart

pnpm install
cp apps/web/.env.example apps/web/.env
pnpm --filter web dev

Open http://localhost:3000. See docs/BUILD.md for ingest CLI, schema migration, and Turso ops.

Environment variables

Variable Local default Purpose
DATABASE_URL file:./dev.db Local libSQL file path
TURSO_DATABASE_URL (blank) Turso remote URL — set in Vercel for preview/prod
TURSO_AUTH_TOKEN (blank) Turso auth token — set in Vercel for preview/prod
SMUGMUG_API_KEY (blank) SmugMug API key. Optional — leave blank locally; the event "Photos ↗" link is hidden when unset.
SMUGMUG_USER rmrpca SmugMug account whose galleries are searched. Hard-coded to RMR PCA for MVP.
SMUGMUG_DISCIPLINE_PATH Autocross Discipline folder within the SmugMug account.

Project status

M0–M1.12 shipped: ingest with PII redaction, styled leaderboards, GitHub Actions CI, per-driver progression at /drivers/[id], SmugMug photo links, RMR season standings at /leaderboard, and ingest correctness pass. M2 (MSR OAuth) is blocked on credentials. See docs/BUILD.md for the full milestone history and docs/PRD.md for requirements.

License

Copyright (C) 2026 David Campbell and BJ Fulton.

Licensed under the GNU General Public License v3.0 or later. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; see the LICENSE file for details.

About

Autocross focused community site for RMR PCA

Topics

Resources

License

Stars

Watchers

Forks

Contributors