A high-performance, map-first live train tracking platform powered by RailRadar, MapTiler, OpenTopography, and OpenWeather.
# Clone & install
git clone https://github.com/YOUR_USERNAME/BW-Rail-Analytics.git
cd BW-Rail-Analytics
npm install
# Setup environment variables
cp .env.example .env
# Add your API keys to .env
# Run locally
npm run devVITE_RAILRADAR_API_KEY=your_key
VITE_MAPTILER_API_KEY=your_key
VITE_OPENTOPOGRAPHY_API_KEY=your_key
VITE_OPENWEATHER_API_KEY=your_key- Live Telemetry: Real-time position tracking, speed, ETA, and delay indicators.
- Vector Maps: MapLibre GL interactive maps with MapTiler dark & light styles.
- Station Schedules: Timeline stops with platform numbers and arrival/departure times.
- Terrain & Weather: OpenTopography altitude graphs & OpenWeather station forecasts.
- Landmarks Corridor: Overpass API bridges, rivers, and scenic landmarks along route.
React 18, TypeScript, Vite 5, MapLibre GL JS, MapTiler, Zustand, TanStack Query.
