4 ms·
Show HN: Smallest static site generator (sssg.sh)
Moin,
I have been looking for a minimal solution to generating my blog from thoughts I had - without much overhead, be it through file size, formatting or having to install external tools.
I finally created a shell script that felt just right for my current situation. I get that this might not be what other people want or need, but I am a big fan of open-source and believe someone might benefit from the script.
Direct link to the repo: https://codeberg.org/pilkiad/sssg.sh https://codeberg.org/pilkiad/sssg.sh
Disclaimer: pandoc needed ;)
- sureglymop 1y agoLooks cool, will try it out. Thank for sharing :) The comment system seems interesting. Reading through your post I got an xss scare though. But if I understand correctly you have to confirm each comment as it is submitted right?
- pilkiad 1y agoYou are talking about the comments on the blog right? I would not be surprised if my system is quite insecure, I mostly rely on security through obscurity here since no one knows my blog. Although I do use PHP input field sanitization which I believe helps prevent xss? I have a blog post explaining the comment system aswell if you're intereseted
- sureglymop 1y agoYup. I see. During a second read after my coffee I got it, had just been reading a bit too expeditiously!