Skip to content

Handy little extension that lets you monitor bus stops near you for arrival times of upcoming buses.

Notifications You must be signed in to change notification settings

sumitgouthaman/onebusaway-chrome-angular2

Repository files navigation

Build Status

OneBusAway Chrome extension (Angular 2)

This is a handy little extension that lets you monitor bus stops near you for arrival times of upcoming buses.

Demo

Adding nearby stops

Important notes

  • Only the Puget Sound region is tested at the moment.

OneBusAway

  • This app is powered by the OneBusAway API.
  • This app is not officially provided by OneBusAway.

How to run the extension

  1. Make sure your local transit agency uses OneBusAway. This might be mentioned on their website. For eg. here's Sound Transit's open transit data website.
  2. Update src/environments/environment.prod.ts with the OneBusAway API key in the obaApiKey variable.
    1. The KEY can be obtained by emailing your local transit agency. For Sound Transit, send an email to OBA_API_Key@soundtransit.org.
  3. Compile the app using npm run-script build.
  4. The dist folder contains the extension code. You can load this in chrome as an unpacked extension by following the instructions here.

How to run unit tests

  1. Run npm run-script test to keep tests running continously.
  2. Run npm run-script testonce to run tests only once.

About

Handy little extension that lets you monitor bus stops near you for arrival times of upcoming buses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published