Projects

File Server for Go

Source code

A Go library, an alternative to the standard http.FileServer. It adds a styled file list with sorting, downloading folders as a zip archive with streaming assembly and size limits, hiding folders with a marker file, and a request rate limiter per IP and for the whole server. It protects against escaping the root directory and serves HTML and SVG in a sandbox via CSP. Used to serve static files on my website.

Contact me

A question, an offer or just hello