Simple cli tool for serving files in a directory. A silly excuse for me to write something tiny in go.
Go to file
2017-02-06 21:32:48 -08:00
.hgignore init 2013-10-21 13:45:14 -07:00
license added license 2015-06-23 08:45:08 -07:00
main.go add support for serving TLS 2017-02-06 21:32:48 -08:00
README.md add support for serving TLS 2017-02-06 21:32:48 -08:00

Simple cli tool for serving files in a directory.

Installation:

go get mcquay.me/servedir

use:

servedir  # default port

# specify port
servedir -port 6666

# allow serving hidden files/dirs
servedir -hidden

# serve https, with http redirect
TLS_CERT=/path/to/cert.pem TLS_KEY=/path/to/key.pem servedir

# or see -help