{"by":"imtomt","descendants":227,"id":48080587,"kids":[48081736,48081948,48080711,48100271,48080693,48081261,48081452,48081753,48081384,48081342,48081567,48081487,48085902,48080676,48083165,48090878,48081329,48080960,48080828,48081336,48080741,48080942,48081627,48120926,48083053,48080925,48081382,48081170,48081011,48081588,48084629,48081404,48084274,48081963,48081179,48084849,48083065,48081101,48080876,48081343,48080971,48080618,48081430,48082501,48082511,48081067,48081575,48081316,48081664,48081587,48085884,48081091,48085318,48087851,48081330,48080896,48083719],"score":430,"text":"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.<p>I’ve also written a more detailed writeup here: <a href=\"https:&#x2F;&#x2F;imtomt.github.io&#x2F;ymawky&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;imtomt.github.io&#x2F;ymawky&#x2F;</a>","time":1778382104,"title":"Show HN: Building a web server in assembly to give my life (a lack of) meaning","type":"story","url":"https://github.com/imtomt/ymawky"}