Monday, June 25, 2018

Hookah: A Swiss Army knife for data pipelines

Hookah lets you pipe data between different stream types.

Check it out on Github: https://github.com/wybiral/hookah

Some CLI examples:
Pipe from stdin to a new TCP server on port 8080:
hookah -o tcp-server://localhost:8080
Pipe from an existing TCP server on port 8080 to a new HTTP server on port 8081:
hookah -i tcp://localhost:8080 -o http-server://localhost:8081
Pipe from a new Unix domain socket listener to stdout:
hookah -i unix-server://path/to/sock
Pipe from a new HTTP server on port 8080 to an existing Unix domain socket:
hookah -i http-server://localhost:8080 -o unix://path/to/sock

No comments: