Skip to content
/ serve Public

🕸 A robust and handy tool for serving your current terminal directory over HTTP

License

Notifications You must be signed in to change notification settings

integrii/serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serve ⚡️

A simple binary written in go for serving your current directory as static content over HTTP from the terminal. Just run go get github.com/integrii/serve and use.

Free, open source, fast, and simple.

serve

Installation

  • Have go installed (duh?)
  • Install with go: go get github.com/integrii/serve
  • If your $PATH environment variable has $GOBIN in it, then you can now simply use serve
    • Otherwise, you will need to run $GOBIN/serve or if you don't even have $GOBIN set, you must run $GOPATH/bin/serve

Usage

Options

Run serve --help to see command line options:

Usage of serve:
  -l string
        The address for the server to listen on. Examples: :80, 127.0.0.1:8000 (default ":8000")
  -p string
        The path for the server to serve. (default "/Current/directory")

About

🕸 A robust and handy tool for serving your current terminal directory over HTTP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages