~npisanti/npisantidotcomssg

npisantidotcomssg/README.md -rw-r--r-- 818 bytes
92157a2aNicola Pisanti corrects typo an hour ago

#npisantidotcomssg

Here are all the files and the script that generate my website, and some helpers to fetch and upload data.

My static site generator is a script of less than 400 lines of code, made for the fish shell. The CSS for the entire site is less than 1kb.

This is also a proof that shell scripting, although not very efficient, can be a viable way for generating small to medium websites, expecially the ones not updated that often. My script puts together various bits of html, but you can easily use any kind of markup languages you want, maybe also converting media on the fly while you traverse the folders.

So next time you are tired of bloated frameworks you don't need, why not to try your shell?

Nicola Pisanti MIT License 2020.