Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 874 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 874 Bytes

TOMP Bare Server (in bash)

This repository implements the TompHTTP bare server. See the specification here.

Usage

PORT=8080 ./launch.sh

Make sure to update uv.config.js to point to that port

Dependencies

bash (4.1+), GNU coreutils, xxd, ncat, curl, jq

Why?

I got nerd sniped!

image

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

"it doesn't work on site X"

e4ce080cbdc1d7bbc708f5aaff578d9c