A static site generator written in POSIX shell

(aashvik.com)

20 points | by todsacerdoti 5 days ago

4 comments

  • mrwh 1 hour ago
    Love it! My personal sites tend to start hand-written, evolve into a bash script, occasionally advance into python, but mostly just stay in bash, because it's convenient, doesn't need to please anyone else (nor would it!), and is already built for text processing into files. (I write a lot of scrappy shell scripts for my job too. I guess I should start asking an AI to generate whatever I want directly instead. Cobbling together a script is more fun though...)
  • riedel 44 minutes ago
    The title seems to be a bit misleading IMHO because it does not really only use `sh` but heavily `sed` it seems, which is a whole programming language well suited for templating. I've in the old days written a Macromedia Dreamweaver compatible template engine using such a scheme, which I personally used quite a long time actually without Dreamweaver because this WordPress madness was even a thing.
  • lombasihir 15 minutes ago
    why not perl?
  • paseante 1 hour ago
    What is wrong with people.
    • hereonout2 6 minutes ago
      I don't get this kind of indignation against anything shell related.
    • pixelatedindex 11 minutes ago
      Care to elaborate? I don’t see anything of issue here, in fact it’s pretty good.