npm-workspaces monorepo:
apps/greyscout: GreyScout, the scouting appapps/preflight: Preflight, the offline-first pit crew app (seeapps/preflight/docs/architecture.md)apps/workshop: Workshop, the shop management app: tickets, session plans, and milestones (seeapps/workshop/README.md)apps/diagnostics: Greybots Diagnostics, the robot diagnostics desktop app for Windows, Linux and macOS (seeapps/diagnostics/docs/design.md)apps/hub: the launcher for all the appspackages/common: shared Vue components, styles, and the Supabase clientsupabase/: the shared Supabase project
How we work on this repo (branches, PRs, review, checks, database changes) is in CONTRIBUTING.md.
- Clone the repo
- Install all npm dependencies:
npm install- (optional) Install all python util dependencies:
cd util
uv sync- Set the
TBA_API_KEYsecret on the linked Supabase project — required for thetba-proxyEdge Function (in-app TBA sync and OPR/DPR display) to work. Use the same key asutil/private_credentials.json'stba.api_key:
supabase secrets set TBA_API_KEY=<your-tba-api-key>To start GreyScout in development mode:
npm run devTo start Preflight in development mode (or use serve:preflight to test the offline service worker at http://localhost:4173):
npm run dev:preflightTo start Greybots Diagnostics (a desktop app) in development mode, or build an installer for the computer you're on into apps/diagnostics/release. In development mode, changes to the window reload it, and changes to the main process or preload script restart the app:
npm run dev:diagnostics
npm run dist:diagnosticsTo format the code:
npm run formatTo update the event/team database:
cd util
uv run python main.pyTo start in production mode:
npm start