Skip to content

helloitsjoe/charlie

Repository files navigation

Charlie

Find out when the next train or bus is coming!

screenshot

To customize, change stop info in resources/routes.json

Note: For route/stop info, mbta-client (included in dependencies) has a few helper functions that provide route/stop IDs and direction names: fetchAllRoutes and fetchStopsByRoute. In routes.json, direction maps to the index of the stop's direction_name

A green route signifies an arrival within your window of time, defined by waitStart and waitLength in resources/routes.json

Example: If it takes you 5 minutes to walk to the train, and you don't want to wait more than 5 minutes on the platform:

waitStart: 5
waitLength: 5