just-files
is a trivial static files server in Go.
Basically none
Set BIND
environment variable to configure bind address.
- defaults to
127.0.0.1
Set PORT
environment variable to configure bind port
- defaults to
8000
Arguments are a comma-separated list of <url-path>:<file-path>
pairs.
BIND=0.0.0.0 PORT=8081 just-files /:/www
The just-files
file server is written in Go. IT can be built using the normal
Go toolchain steps, e.g.
go build
With the Go toolchain installed,
go install github.com/shoenig/just-files@latest
Open an issue
The just-files
file server is made open source under the MPL-2.0 license.