Skip to content

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bart-live

A real-time map of Bay Area Rapid Transit trains.

Since BART doesn't publish GPS data, this is an estimate of where trains are in real time. It uses the GTFS-RT feed to calculate the average speed between stops. From there, the train moves along the actual path, defined by shapes.txt in the static GTFS.

This project is not official nor affiliated with BART.

Running

Register for a BART API key or use the public one.

Server

  • For the first time you run the server, run npm install to get dependencies.
  • Set the API_KEY environment variable to your API key and the CERT and PRIV_KEY variables to the paths of the respective certificate files.
  • Run node server.js

Client

Data

About

A real-time map of Bay Area Rapid Transit trains.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages