Skip to content

Repository files navigation

BW — Live Rail Analytics

A high-performance, map-first live train tracking platform powered by RailRadar, MapTiler, OpenTopography, and OpenWeather.

BW Live Rail Analytics Preview

Quick Start

# 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 dev

Environment Variables (.env)

VITE_RAILRADAR_API_KEY=your_key
VITE_MAPTILER_API_KEY=your_key
VITE_OPENTOPOGRAPHY_API_KEY=your_key
VITE_OPENWEATHER_API_KEY=your_key

Key Features

  • 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.

Tech Stack

React 18, TypeScript, Vite 5, MapLibre GL JS, MapTiler, Zustand, TanStack Query.

About

Live train tracking platform built with React, Vite, MapLibre GL, and real API integrations.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages