Show HN: Building a web server in assembly to give my life (a lack of) meaning

https://github.com/imtomt/ymawky
by imtomt • 2 months ago
430 227 2 months ago

This is ymawky, a static file web server for MacOS written entirely in ARM64 assembly. It supports GET, PUT, DELETE, HEAD, and OPTIONS requests, and supports Range: bytes=X-Y headers (which allows scrubbing for video streaming). It decodes percent-encoded URLs, strictly enforces docroot, serves custom error pages for any HTTP error response, supports directory listing, and has (some) mitigations against slowloris-like attacks.

I’ve also written a more detailed writeup here: https://imtomt.github.io/ymawky/

Related Stories

Loading related stories...

Source preview

github.com