Skip to content

arun0009/bartonic

Repository files navigation

BARTonic

BARTonic app icon

CI status PWA ready Buy me a coffee MIT license

Live BART departures, saved commute routes, train-position hints, and a mobile-first map in a fast installable PWA.

Live App: bartonic.arun0009.workers.dev


Install in 30 Seconds

Platform Steps
iPhone (Safari) Open the Live App → Tap ShareAdd to Home ScreenAdd
Android (Chrome) Open the Live App → Tap menu → Install app / Add to Home Screen → Confirm
Desktop (Chrome/Edge) Open the Live App → Click the install icon in the address bar → Confirm
If install does not update immediately
  1. Remove any old app icon from the home screen.
  2. Open the site in the browser and refresh once.
  3. Install again from the browser menu or share sheet.

Why BARTonic

BARTonic is designed for the everyday Bay Area rider: open the app, check your next train in seconds, and make better commute decisions in real time.

Features

  • My Routes - Save commute pairs and get live countdowns every 15 seconds.
  • Add Route - Create one-way or return routes with quick station search.
  • Quick Lookup - Check any origin to destination with transfer-aware departures.
  • Train Position - See where your train is right now using GTFS-Realtime hints.
  • System Map - Pinch/zoom and drag the BART map with a clean mobile UI.
  • Installable PWA - Add to home screen on iOS/Android/desktop.
Developer Section

Quick Start (Development)

npm install
npm run dev

Open http://localhost:5173.

Scripts

  • npm run dev - start local dev server
  • npm run build - production build to dist/
  • npm run test - deterministic fixture-based validation tests (CI-safe)
  • npm run test:live - live BART audit for one origin (defaults to DUBL)
  • npm run test:live:all - one-time live sweep across all origins
  • npm run lint - lint TypeScript/React code
  • npm run icons - regenerate favicon + PWA icon pack

Live Audit Params

  • ORIGIN=<ABBR> npm run test:live - pick a single origin, e.g. ORIGIN=12TH
  • LIMIT=<N> npm run test:live - limit destination checks for faster runs
  • LIMIT_ORIGINS=<N> LIMIT_DEST=<N> npm run test:live:all - sample run across origins/destinations
  • Use test:live / test:live:all as manual pre-release checks (not required CI)

Stack

Not affiliated with BART.

License

MIT

About

BARTonic — the fast, installable BART companion for Bay Area commuters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Contributors