Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fetchte/local-static-tools
https://github.com/fetchte/local-static-tools
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fetchte/local-static-tools
- Owner: fetchTe
- License: mit
- Created: 2022-02-22T23:18:31.000Z (almost 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-09-05T02:24:13.000Z (over 2 years ago)
- Last Synced: 2024-11-06T23:17:55.190Z (about 2 months ago)
- Language: HTML
- Size: 20.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# README
Local dev app/tools - cuz flaky damned internetz
Just throw it in `sites/` and serve
---
source: [`https://github.com/kevinpollet/serve`](https://github.com/kevinpollet/serve)
- HTTP/2 and TLS support.
- Custom Error pages.
- Basic HTTP authentication.
- Hide dot files by default.
- Directory listing is disabled by default.
- Encoding negotiation with support of [gzip](https://www.gzip.org/), [Deflate](https://en.wikipedia.org/wiki/DEFLATE)
and [Brotli](https://en.wikipedia.org/wiki/Brotli) compression algorithms.```shell
Usage: serve [options]Options:
-addr Sets the server address. Default is "127.0.0.1:8080".
-auth Sets the basic auth credentials (password must be hashed with bcrypt and escaped with '').
-auth-file Sets the basic auth credentials following the ".htpasswd" format.
-dir Sets the directory containing the files to serve. Default is ".".
-cert Sets the TLS certificate.
-key Sets the TLS private key.
-help Prints this text.
```