Here are the three most prevalent themes from the discussion, supported by direct quotations.
1. Justification of Using Shell Scripts for Static Sites
Many users defended the practice of writing personal site generators in shell (bash, sh), citing convenience, control, and the "fun" of cobbling together simple tools for text processing.
- adityaathalye: "It exists because one whistles silly tunes and shaves yaks."
- mrwh: "My personal sites tend to start hand-written, evolve into a bash script... mostly just stay in bash, because it's convenient, doesn't please anyone else (nor would it!), and is already built for text processing into files."
- p4bl0: "I did something similar a (very) long time ago... a static site generator and blog engine entirely coded in sh (yes, not even Bash) + coreutils... It was fun to build."
2. Pragmatic Tooling for Minimal Build Environments
A significant portion of the discussion focused on generating websites in restricted environments (like GitHub runners) using minimal software. Users debated the merits of using pre-installed tools like Java/XSLT, sed/awk, or lightweight compilers like comrak versus heavier alternatives like pandoc.
- vbezhenar: "I wonder what would be a good way to generate a website with minimal software installations, for example in standard github runner image... I've come up with using Java and XSLT."
- MallocVoidstar: "pandoc is big (nearly 200MB binary on Debian) and does far more than just Markdown -> HTML."
- captn3m0: "For minimal stuff, I just have a pre-commit hook that runs
pandoc -s README.md -o index.html."
3. Nostalgia and Modern Rediscovery of Simpler Static Site Generators
Several users expressed fondness for older, simpler static site generators (like the Bash-based NanoBlogger) or the general trend of moving away from complex frameworks back to simpler, script-based workflows.
- avian: "My first blog was made with NanoBlogger, which was what you would call a static site generator today. It's made in Bash."
- hkt: "I've set up a few with that too, it was a great bit of software and a great concept."
- msephton: "This is fun. I do love a good bit of shell scripting. Also makes me want to make my own little ssg in whatever way I see fit."