Skip to content

Generate a GTFS-Realtime feed with the status of Berlin & Brandenburg elevators.

License

Notifications You must be signed in to change notification settings

sozialhelden/facilities-gtfs-rt-feed

Repository files navigation

facilities-gtfs-rt-feed

Generate a GTFS Realtime (GTFS-RT) feed with the status of Berlin & Brandenburg elevators using StationUpdate, as proposed in google/transit#268 & MobilityData/transit#42.

MIT-licensed minimum Node.js version support me via GitHub Sponsors chat with me on Twitter

Running

facilities-gtfs-rt-feed needs a token to query the accessibility.cloud API; Log into their platform to obtain one.

Running via Docker

echo 'NODE_ENV=production' >>.env
echo 'ACCESSIBILITY_CLOUD_TOKEN=…' >>.env
docker run --env-file=.env -p 3000:3000 ghcr.io/derhuerst/facilities-gtfs-rt-feed

Running manually

git clone https://github.com/derhuerst/facilities-gtfs-rt-feed.git
cd facilities-gtfs-rt-feed
npm install
npm run build
export 'ACCESSIBILITY_CLOUD_TOKEN=…'
node index.js | pino-pretty

About

Generate a GTFS-Realtime feed with the status of Berlin & Brandenburg elevators.

Resources

License

Stars

Watchers

Forks

Packages

No packages published