This repository implements the TompHTTP bare server. See the specification here.
PORT=8080 ./launch.sh
Make sure to update uv.config.js
to point to that port
bash (4.1+)
, GNU coreutils, xxd
, ncat
, curl
, jq
I got nerd sniped!
Anyway, if you ignore the fact that websockets exist the bare server specification is actually remarkably simple, my implementation is only ~140 lines of bash since HTTP isn't a very complex protocol