GitHub - fogleman/serve: Simple Go file server for command line development use, a la Python's SimpleHTTPServer.

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

5 Commits

Repository files navigation

serve

Simple Go file server for command line development use, a la Python's SimpleHTTPServer.

Installation

go get -u github.com/fogleman/serve

Run the Server

By default, serves the current working directory on port 8000. If $GOPATH/bin is on your PATH, you can run it anywhere.

$ serve

http://localhost:8000/

Command-line Arguments

Flag Default Description
-port 8000 port to listen on
-dir "." directory to serve

About

Simple Go file server for command line development use, a la Python's SimpleHTTPServer.

Resources

Readme

Activity

Stars

41 stars

Watchers

2 watching

Forks

11 forks

Releases

No releases published

Languages