Serve files with yeet
--404-fallback string Redirect any 404 to the provided fallback file
--404-index Redirect any 404 to the index file
--bot-agents string Bot User-Agent header regex (default "bot|crawl|spider|external|meta|scrap|archive|discourse")
--bot-proxy string Bot proxy URL
--expiry Use cache expiry
--expiry-interval duration Interval between cache GC's (default 10m0s)
--expiry-time duration Lifetime of a cache entry (default 1h0m0s)
-h, --help help for serve
--host string Hostname to bind the webserver
--index-file string The directory default index file (default "index.html")
-p, --paths strings Paths to serve on the webserver (default [./www])
--port int Port to run the webserver on (default 8080)
--tls-cert string TLS Certificate file path
--tls-key string TLS Key file path
--warmup Load all files into memory on startup
-w, --watch Watch filesystem for changes
--log string The log level to output (default "info")
--log-file string File to output logs to
--quiet Do not log anything to console
- yeet - yeet is an in-memory indexed static file webserver
- yeet serve local - Serve a local directory
- yeet serve s3 - Serve an S3 bucket
- yeet serve s3-redis - Serve Redis-backed S3 buckets