Heykuki News

TopNewBestAskShowJobs
TopNewBestAskShowJobs
Show HN: Building a web server in assembly to give my life (a lack of) meaning
github.com/imtomt
430 points
imtomt
25 days 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/

228 comments