|Nicola Pisanti c778b2a3b5||2 days ago|
|input||2 days ago|
|.gitignore||2 years ago|
|LICENSE.md||8 months ago|
|README.md||5 months ago|
|browse_local.sh||5 months ago|
|build.sh||2 days ago|
|fetch_data.sh||8 months ago|
|memo.md||9 months ago|
|remove_target_blank.sh||5 months ago|
|upload_data.sh||5 months ago|
|upload_html.sh||5 months ago|
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.