Skip to content

Use the Transit API to show next departure of a location similar to the main screen of the Transit app.

License

Notifications You must be signed in to change notification settings

TransitApp/Transit-NearbyWebWidget

Repository files navigation

Transit-NearbyWebWidget

Use the Transit API to show next departure of a location similar to the main screen of the Transit app.

Transit-NearbyWebWidget Screenshot

Warning

Transit Widget was built by the Transit team as a fun project to demo our API, usage of this project comes with no garantee of any kind.

How to get started

  1. Request API access

Go the the Transit API page and request access to the an API key. When you have the API key, you can place it in the .env file.

  1. Test locally

Assuming you have node and pnpm installed (we recommend using nodenv to follow the .node-version file)

pnpm install
pnpm build
pnpm start

Then follow the instructions and open http://localhost:8080

  1. Deploy somewhere!

You should be ready to deploy somewhere if you want to use it for a longer amount of time.

Contribute

This project was built mostly for fun and hasn't been updated recently and needs some love. PRs welcome!

About

Use the Transit API to show next departure of a location similar to the main screen of the Transit app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published