Skip to content
/ wail Public

A go tool for streaming stdin to a websocket 😱

Notifications You must be signed in to change notification settings

Flaque/wail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

wail 😱

Wail is a little go tool that listens for pipe input and then streams it to a websocket on port 80.

It's useful for sharing the contents of a log to other places on the interwebs.

Usage

On the server

./myServer | wail

In the client

const ws = new WebSocket("ws://localhost:80", "protocolOne");
ws.onmessage = function(event) {
  console.log(event.data);
};

About

A go tool for streaming stdin to a websocket 😱

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages