Skip to content

Access program STDIN and STDOUT via Web-Socket server.

Notifications You must be signed in to change notification settings

hophiphip/sockd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Packages

No packages published