Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/public-transport/gtfs-rt-inspector
Web app to inspect & analyze any GTFS Realtime feed.
https://github.com/public-transport/gtfs-rt-inspector
gtfs gtfs-realtime gtfs-rt public-transport transit
Last synced: about 7 hours ago
JSON representation
Web app to inspect & analyze any GTFS Realtime feed.
- Host: GitHub
- URL: https://github.com/public-transport/gtfs-rt-inspector
- Owner: public-transport
- License: isc
- Created: 2020-12-22T16:52:20.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-11T21:20:33.000Z (5 months ago)
- Last Synced: 2024-10-29T11:28:14.295Z (5 days ago)
- Topics: gtfs, gtfs-realtime, gtfs-rt, public-transport, transit
- Language: JavaScript
- Homepage: https://public-transport.github.io/gtfs-rt-inspector/
- Size: 10.1 MB
- Stars: 33
- Watchers: 6
- Forks: 4
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
- awesome-gtfs - gtfs-rt-inspector - Web app to inspect & analyze any GTFS Realtime feed. (Data Viewers)
README
# gtfs-rt-inspector
**Web app to inspect & analyze any [CORS-enabled](https://enable-cors.org) [GTFS Realtime (GTFS-RT)](https://gtfs.org/reference/realtime/v2/) feed.**
It is deployed at [`public-transport.github.io/gtfs-rt-inspector/`](https://public-transport.github.io/gtfs-rt-inspector/).
[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)
[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)![screenshot of the inspector view showing a feed's data](docs/screenshot-inspector.png)
![screenshot of the map view showing a feed's vehicle positions](docs/screenshot-map.png)*Note*: If your feed doesn't allow Browser-based access because it does not set [CORS](https://enable-cors.org) headers, as a workaround, you can run e.g. [`warp-cors`](https://github.com/Bassetts/warp-cors) locally to proxy it with CORS headers. (Do not deploy such a proxy to production if you don't know about the consequences!)
## supported URL parameters
URL parameter | description | default
-|-|-
`feedUrl` | URL of the GTFS-RT feed | –
`feedSyncStopped` | if the feed should be re-fetched periodically | `true`
`feedSyncInterval` | how often the feed should be re-fetched, in seconds | `30`
`view` | tab shown in the UI | `log`
`focusedTripId` | `trip_id` whose shape is highlighted on the map | –
`shapeIdsByTripIdUrl` | URL of the `trip_id` => `shape_id` JSON file, used for showing a vehicle's trip's shape on the map | `/shape-ids-by-trip-id.json`
`shapeUrl` | [URL template](https://tools.ietf.org/html/rfc6570) for a shape, used for showing a vehicle's trip's shape on the map | `/shapes/{shape_id}.geo.json`## Contributing
If you have a question or need support using `gtfs-rt-inspector`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use [the issues page](https://github.com/derhuerst/gtfs-rt-inspector/issues).