diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..59122d3 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# Tent + +Tent is a tiny webserver intended for serving files and directories from +a single path on the filesystem. Kinda like Python's http.server but with better +defaults. + +No non-standard dependencies. Essentially an http.ServeFile() wrapper. + +## Installation + +Tent can be compiled with `make` or `go build`, and installed system-wide by +running `make install` with root-level permissions. + +## Usage + +``` +Usage of ./tent: + -host string + IP address to listen on (default "127.0.0.1") + -port uint + Port to listen on (default random) + -path string + Absolute or relative path to serve (default "./") +``` |