WARNING: This is the old WebSocket-only version of hookah and is no longer being maintained.
hookah is a lightweight pipeline tool for orchestrating WebSocket streams.
Operations like fanning-in multiple data sources, fanning-out to multiple consumers, and applying local map/filter operations between endpoints are all possible using hookah and standard POSIX pipes.
go get github.com/gorilla/websocket
go get github.com/wybiral/hookah-v0/cmd/hookah
go build github.com/wybiral/hookah-v0/cmd/hookah
To see usage instructions run:
hookah
To start a relay node:
hookah node host:port
Pipe a local program into a remote node:
local_program | hookah send remote_host:port
Read from a remote node:
hookah recv remote_host:port
Pipe between two remote nodes and apply local program as map/filter:
hookah recv remote_host1:port | local_program | hookah send remote_host2:port