Skip to content

Read input from `stdin` then open a browser to view it.

Notifications You must be signed in to change notification settings

jmhobbs/servethis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Serve This

Read input from stdin then open a browser to view it.

Usage

Usage of servethis:
  -file
    	open from filesystem instead of http
  -p int
    	port to serve on (default: a random open port)
  -v	verbose output

Examples

$ echo "<b>Hello World</b>" | servethis
$ mustache data.yaml template.mustache | servethis
$ pbpaste | servethis

About

Read input from `stdin` then open a browser to view it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages