Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 570 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 570 Bytes

Unix Domain To Web Socket

A simple utility to pipe unix domain data to web sockets.

Usage

Command line

node src/index.js /path/to/progname.sock "my-socket-io-event-name" 1080 utf8

Docker

docker run kistek/unix-domain-to-web-socket /path/to/progname.sock "my-socket-io-event-name" 1080 utf8

TODO / Issues

PRs on these are especially welcome.

  • Currently this only supports data moving from the domain socket to the web socket, but someone may wish it to be bidirectional.
  • Add ava tests (no tests yet. lame, I know. PRs welcome :-))