avleen/bashttpd
View on GitHub ↗ ★ 1,556 Shell
A web server written in bash
17 mentions on Hacker News by 14 people: 5 stories, 12 comments · first 2012-09-14 · latest 2026-11-01
20082026
-
…too, and you can absolutely do simple web serving in bash, provided you also have netcat or socat https://github.com/avleen/bashttpd Sadly it doesn’t appear either of those socket utilities are ported yet.
comment by zie · 2024-11-04 · in Redox OS gets RISC-V support -
…For example bash is being used in: - gaming ( https://github.com/JosefZIla/bash2048 ) - web apps ( https://github.com/avleen/bashttpd ) - networking - CLIs - distributed systems ( https://github.com/frameable/aviary.sh ) - crypto (…
comment by hawski · 2023-03-10 · in Zig: The Modern Alternative to C -
…but great execution. [1]: https://en.wikibooks.org/wiki/Bash_Shell_Scripting#A_few_not... [2]: https://github.com/avleen/bashttpd edit: added newline to separate references
comment by manifoldgeo · 2022-03-25 · in Bashing the Bash – Replacing Shell Scripts with Python (2017) -
…don't follow it to the letter either, it's easy enough to serve one file. This one might work https://github.com/avleen/bashttpd > socat TCP4-LISTEN:8080 EXEC:/usr/local/bin/bashttpd
comment by xaduha · 2021-05-13 · in Big list of HTTP static server one-liners -
https://github.com/avleen/bashttpd for a bash based one (that uses socat or netcat under the covers)
comment by Twirrim · 2021-04-02 · in An HTTP server in a single .c file -
Maybe you could ask the people who use/maintain this: https://github.com/avleen/bashttpd
comment by Can_Not · 2019-04-13 · in I got tired of PHP and Perl, so I tried bash -
See also: https://github.com/avleen/bashttpd
comment by Twirrim · 2019-04-13 · in I got tired of PHP and Perl, so I tried bash -
Maybe migrating from bashttpd: https://github.com/avleen/bashttpd
comment by giancarlostoro · 2019-02-12 · in 1991 – a server-side web framework written in Forth -
…is paramount, that's why I would always recommend to pair this with a shell script server: https://github.com/avleen/bashttpd Bash is undeniably the language with the highest possible stability, you can literally feel the stability and…
comment by bumholio · 2018-07-13 · in Asmttpd: Web server for Linux written in amd64 assembly (2017) -
It can be used with a relevant Bash HTTP server for minimal developer learning curve. https://github.com/avleen/bashttpd
comment by stonewhite · 2016-10-28 · in Show HN: Bashcached – memcached built on bash and ncat -
You can scale anything[0] if your content is fairly static. [0] https://github.com/avleen/bashttpd
comment by nathancahill · 2015-09-17 · in Why I wouldn’t use Rails for a new company -
See also bashttpd from one of the etsy engineers: https://github.com/avleen/bashttpd
comment by Twirrim · 2015-09-06 · in Simple web server using bash and nc