blob: 59122d3f7dee57ef27222b53c534e9e10b6399c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 "./")
```
|