Skip to content
/ webit Public

Simple command to start a web server pointing at a directory of static files.

License

Notifications You must be signed in to change notification settings

cfchris/webit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

webit

Simple command to start a web server pointing at a directory of static files.

This is heavily inspired by @SimbCo's httpster project.

Installation is done via go get, which is installed along with Go on most platforms.

go get github.com/cfchris/webit && go install github.com/cfchris/webit

Then from any directory where you want to have an http service running, just run

$GOBIN/webit

That will start up a web server on port 3333 and let you serve any static content you wish. If you want to change the port or directory that the server runs from pass in the -p or -d options

$GOBIN/webit -p 8080 -d /home/someuser/somedir

About

Simple command to start a web server pointing at a directory of static files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages