hophiphip / sockd

Access program STDIN and STDOUT via Web-Socket server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sockd

Access program STDIN and STDOUT via Web-Socket server.

Alternative

This is still incomplete implementation. Better alternative.

Usage

Get help message

go run main.go -help

Example

Run server with default parameters

go run main.go

Will start server on localhost:8080 and will stream the output of ls command.

Or provide parameters for the server

go run main.go -address="0.0.0.0" -port=8000 -script=pwd

Will start server on 0.0.0.0:8000 and will stream the output of pwd command.

About

Access program STDIN and STDOUT via Web-Socket server.


Languages

Language:Go 70.3%Language:HTML 29.7%