You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 years ago | |
---|---|---|
README.md | 6 years ago | |
license | 8 years ago | |
main.go | 6 years ago |
README.md
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