7a43e7f8c93f41e5c908a72c5bbaa826e051d61b
serveg
Small HTTP/1.1 file server. Meant to run behind a reverse proxy that handles TLS (see CADDY.md).
Features:
- upload and download files
- per-directory passwords (read more in example config)
- generates html pages for directories
- own http implementation, not "net/http"
Dependencies
- BurntSushi/toml - toml 1.1.0 parser
- daviddengcn/go-colortext - print colored text (linux/windows)
Build
make build
Run
cp serveg.example.toml serveg.toml # edit shares and passwords
bin/servegp # reads ./serveg.toml
# or
bin/servegp -config /etc/serveg/serveg.toml
Description
Languages
Go
91.4%
Go Template
8.4%
Makefile
0.2%