Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 2.44 KB

readme.md

File metadata and controls

53 lines (34 loc) · 2.44 KB

nats-consuming-gtfs-rt-server

Reads a continuous stream of GTFS Realtime (GTFS-RT) data with DIFFERENTIAL incrementality from NATS, converts it into a single FULL_DATASET GTFS-RT feed, and serves it via HTTP.

Note from gtfs-rt-differential-to-full-dataset, which is used for the conversion:

Right now, this package does not obey the draft DIFFERENTIAL spec exactly. See below and #1 for details.

ISC-licensed

Installation

npm install -g OpenDataVBB/nats-consuming-gtfs-rt-server

Getting Started

# todo

Usage

Usage:
    serve-gtfs-rt-from-nats [options]
Options:
	--port                    -p  Port to serve the GTFS Realtime feed on.
	                              Default: $PORT, otherwise 3000
	--nats-servers                NATS server(s) to connect to.
	                              Default: $NATS_SERVERS
	--nats-user                   User to use when authenticating with NATS server.
	                              Default: $NATS_USER
	--nats-client-name            Name identifying the NATS client among others.
Examples:
    serve-gtfs-rt-from-nats --port 1234 --nats-user foo

Related

Contributing

If you have a question or need support using nats-consuming-gtfs-rt-server, 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.