Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.39 KB

readme.md

File metadata and controls

32 lines (23 loc) · 1.39 KB

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