static is a self-hosted static file serving app which does nothing more than just serve up static files with a configured root path
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
James Mills cd483c056d
Fix spa and index modes
2 weeks ago
dist Fix import paths 2 years ago
scripts Initial Commit 6 years ago
tools Refactor this project and make it releaseanle 3 years ago
.gitignore Refactor this project and make it releaseanle 3 years ago
.goreleaser.yml Fix import paths 2 years ago
Dockerfile Optimize the size of the Docker image 11 months ago
LICENSE Fix license file 1 month ago
Makefile Add install target 3 years ago
README.md Fix import paths 2 years ago
_config.yml Set theme jekyll-theme-hacker 4 years ago
doc.go Fix spa and index modes 2 weeks ago
go.mod Add support for -s/--spa (single-page) mode 1 month ago
go.sum Add support for -s/--spa (single-page) mode 1 month ago
handlers.go Fix spa and index modes 2 weeks ago
main.go Fix spa and index modes 2 weeks ago
router.go Add GlobalOPTIONS handler to set CORS response headers to OPTIONS reqests 10 months ago
server.go Fix spa and index modes 2 weeks ago
version.go Refactor this project and make it releaseanle 3 years ago

README.md

static

GoDoc Go Report Card

static is a self-hosted static file serving app which does nothing more than just serve up static files with a configured root path.

Installation

Source

With a valid Go environment:

$ go get git.mills.io/prologic/static

Usage

Run static:

$ static

Then visit: http://localhost:8000/

Configuration

By default static services up files from the current directory. This can be configured via the -root option.

License

MIT