Skip to content
/ serve Public

A simple Web Server to serve your static files on a URL

License

Notifications You must be signed in to change notification settings

apoorvam/serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serve

A simple Web Server to serve your static files on a URL

Usage

serve // serves the files in current directory on a default URL(localhost:4000)
or
serve ./foobar // serves the files in `foobar` directory

If you do not want to open browser by default, you can use -s flag.

You can serve on a specific local IP as serve -a=127.0.0.1:8000

Build from source

  • Clone this repository
  • Run go build
  • Copy the serve output file to $PATH(like /usr/local/bin for unix systems)

About

A simple Web Server to serve your static files on a URL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages