Skip to content

MBTA transit predictions for a customizable list of stops.

Notifications You must be signed in to change notification settings

Conary36/which-bus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Under Construction

Which Bus?

Build Status

MBTA transit predictions for a customizable list of stops.

Intended to help you decide which route to take when you have multiple options available. For example, to help you answer the question: "Should I take the Red Line or Commuter Rail from South Station to Braintree? Commuter Rail is faster, but is there a train soon?" You could make a list that shows predictions for the Red Line, Kingston/Plymouth Line, and Middleborough/Lakeville.

Enter the route id and stop id for each selection that you want predictions at. These are the internal ids given by the API, which may be different than the human-facing names.

The list of selections is saved as query parameters in the url, so you can bookmark useful lists.

Technical Details

To run:

  • npm install
  • npm start

Built on top of the MBTA Streaming API

Written in Elm, my favorite language, with wonderful features like a compiler that totally eliminates runtime errors. It's a delight to write in, and I'd recommend trying it.

Hosted with GitHub Pages. There is no backend code for this project.

Disclaimer: I work for the MBTA doing stuff very similar to this, but this is a personal side project done on my own time.

About

MBTA transit predictions for a customizable list of stops.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elm 96.2%
  • HTML 3.8%