ssg static site generator

(Posted: 2022-07-16 16:30:40 -0400 EDT)

I was looking for a super simple/minimal static site generator that just does the bare minimum in terms of just rendering markdown and renders it on an html page. No backend server whatsoever, no crazy yarn/node libraries to generate pages, nothing. Super simple. No bullshit. It’s actually way harder than you probably think.

So I found ssg which is written completely in POSIX shell script. Using commands you more than likely already have on any UNIX-like system (and providing you have lowdown or, it will take all your markdown in a src directory, render a common header/footer file in each one, and then spit them out into a destination directory. Super cool. Super simple. SUPER INSPIRING

I’ve started to make my own mods to it for my own sanity. They uhh, might not be completely POSIX compliant but in my case 99% of the time that won’t matter.

You can grab it from here.

Changes I’ve made to it below:
Thoughts/ideas on improvements: