Files
adsb-tools/sinks/adsb-ws/README.md

14 lines
517 B
Markdown
Raw Normal View History

2016-03-11 15:39:07 -08:00
## Overview
2016-03-11 15:39:42 -08:00
adsb-ws takes an ADS-B feed and makes it available via [websockets](https://en.wikipedia.org/wiki/WebSocket) (written in Go)
2016-03-11 15:39:07 -08:00
2016-03-11 15:43:28 -08:00
This exposes data from adsbus to HTTP clients. It allows you to write clients that consume the data entirely in JavaScript.
2016-03-11 15:39:07 -08:00
## Use
2016-03-11 15:47:41 -08:00
Pass `--exec-send=json="exec /path/to/adsb-ws"` to [adsbus](../../adsbus/).
2016-03-11 15:39:07 -08:00
Optional flags:
2016-03-11 15:47:41 -08:00
* `--exec-send=json="exec /path/to/adsb-ws --bind-address=host:port"`
* `--exec-send=json="exec /path/to/adsb-ws --static-dir=/path/to/static/content"`