Better HN
topnewbestaskshowjobs
Log inSign up

jsks

6 karma · joined Apr 13, 2019 (7y ago) · 1 submissions

Submissions

comment 7y ago · link · parent

Had to register just for this, hilariously inappropriate web servers written in various *sh dialects is my weird pet hobby.

Some additional related projects not yet mentioned:

balls (bash): https://github.com/jneen/balls

czhttpd (zsh; full disclosure, author here): https://github.com/jsks/czhttpd

sh-httpd (ksh): https://www.dartmouth.edu/~rc/classes/ksh/sh-httpd.html

zshttpd (zsh): https://github.com/hkoba/zshttpd

ZWS (zsh): http://www.chodorowski.com/projects/zws/

With zsh you can avoid the dependency of netcat/socat and use the builtin TCP module which is both super cool and terrifying.