Hacker GitHub

← All repos

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

Mentions per year 17 mentions · busiest year 2019 (4)
20082026
  1. …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
  2. …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
  3. …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
  4. …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
  5. 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
  6. Maybe you could ask the people who use/maintain this: https://github.com/avleen/bashttpd
  7. See also: https://github.com/avleen/bashttpd
  8. Maybe migrating from bashttpd: https://github.com/avleen/bashttpd
  9. …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…
  10. It can be used with a relevant Bash HTTP server for minimal developer learning curve. https://github.com/avleen/bashttpd
  11. 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
  12. 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