just-files

command module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

README

just-files

GitHub

just-files is a trivial static files server in Go.

Features

Basically none

Usage

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.

Examples
BIND=0.0.0.0 PORT=8081 just-files /:/www
Building

The just-files file server is written in Go. IT can be built using the normal Go toolchain steps, e.g.

go build
Installing

With the Go toolchain installed,

go install github.com/shoenig/just-files@latest
Contributing

Open an issue

License

The just-files file server is made open source under the MPL-2.0 license.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL