wybiral / hookah-v0

WebSocket pipeline tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hookah

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.

Install dependencies

go get github.com/gorilla/websocket
go get github.com/wybiral/hookah-v0/cmd/hookah

Build

go build github.com/wybiral/hookah-v0/cmd/hookah

Usage

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

About

WebSocket pipeline tool.

License:Apache License 2.0


Languages

Language:Go 100.0%