Skip to content

velzie/bare-server-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An implementation of the TOMP bare server in bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages