https://github.com/transitapp/transit-nearbywebwidget
Use the Transit API to show next departure of a location similar to the main screen of the Transit app.
https://github.com/transitapp/transit-nearbywebwidget
Last synced: 7 months ago
JSON representation
Use the Transit API to show next departure of a location similar to the main screen of the Transit app.
- Host: GitHub
- URL: https://github.com/transitapp/transit-nearbywebwidget
- Owner: TransitApp
- License: mit
- Created: 2025-07-28T18:36:27.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-07-28T18:50:58.000Z (7 months ago)
- Last Synced: 2025-07-28T20:45:50.802Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 190 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Transit-NearbyWebWidget
Use the Transit API to show next departure of a location similar to the main screen of the Transit app.

> [!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](https://transitapp.com/apis) and request access to the an API key. When you have the API key, you can place it in the `.env` file.
2) Test locally
Assuming you have node and pnpm installed (we recommend using `nodenv` to follow the `.node-version` file)
```sh
pnpm install
pnpm build
pnpm start
```
Then follow the instructions and open http://localhost:8080
3) 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!