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.
![]() |
2 weeks ago | |
---|---|---|
dist | 2 years ago | |
scripts | 6 years ago | |
tools | 3 years ago | |
.gitignore | 3 years ago | |
.goreleaser.yml | 2 years ago | |
Dockerfile | 11 months ago | |
LICENSE | 1 month ago | |
Makefile | 3 years ago | |
README.md | 2 years ago | |
_config.yml | 4 years ago | |
doc.go | 2 weeks ago | |
go.mod | 1 month ago | |
go.sum | 1 month ago | |
handlers.go | 2 weeks ago | |
main.go | 2 weeks ago | |
router.go | 10 months ago | |
server.go | 2 weeks ago | |
version.go | 3 years ago |
README.md
static
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