Home

Awesome

gtfs-rt-inspector

Web app to inspect & analyze any CORS-enabled GTFS Realtime (GTFS-RT) feed.

It is deployed at public-transport.github.io/gtfs-rt-inspector/.

support me via GitHub Sponsors chat with me on Twitter

screenshot of the inspector view showing a feed's data screenshot of the map view showing a feed's vehicle positions

Note: If your feed doesn't allow Browser-based access because it does not set CORS headers, as a workaround, you can run e.g. 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 parameterdescriptiondefault
feedUrlURL of the GTFS-RT feed
feedSyncStoppedif the feed should be re-fetched periodicallytrue
feedSyncIntervalhow often the feed should be re-fetched, in seconds30
viewtab shown in the UIlog
focusedTripIdtrip_id whose shape is highlighted on the map
shapeIdsByTripIdUrlURL 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
shapeUrlURL template 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.