It's a fun project to try out new tech, but you have to acknowledge that you're doing it for fun rather than any sort of necessary reason. It's like when you build a game engine and never get around to doing the hard part: building the game. It's a procrastination time hole that mostly just distracts us from the harder, less concrete, less fun thing we supposedly set out to do in the first place. It keeps us from shi…
Why You Should Write Your Own Static Site Generator
91–100 of 136 posts
Re: Why You Should Write Your Own Static Site Generator
#92For over 2 decades, my personal Web site has been generated from one big Emacs Lisp file (plus a filesystem tree of image and downloadable files). Both the code and the text data were in the one file. The code included features like rich syntax coloring source view of files (fairly unusual at the time) that were also downloadable, and calendar-based blog navigation. Over time, the code changed a little, such as to co…
And also various others, for various reasons. The thing about static site generators is that they are fantastically easy.
Re: Why You Should Write Your Own Static Site Generator
#93I'm not sure I'd advocate for writing a static site generator, although I'm certainly guilty of writing a few myself. Instead I always encourage people who are trying to start blogging to do the writing first. Figure out a workflow that works for you - what time of day you prefer writing, what editor, do diagrams naturally come up in your thought stream, etc. It's way easier to get this workflow dialed in when you're…
Where static site generators shine are websites that are not blogs. Especially when generated from a data source. Then you can tailor your ssg to the data source, update the data and run the generator to update the site.
Re: Why You Should Write Your Own Static Site Generator
#94Re: Why You Should Write Your Own Static Site Generator
#95I'm not sure I'd advocate for writing a static site generator, although I'm certainly guilty of writing a few myself. Instead I always encourage people who are trying to start blogging to do the writing first. Figure out a workflow that works for you - what time of day you prefer writing, what editor, do diagrams naturally come up in your thought stream, etc. It's way easier to get this workflow dialed in when you're…
But if you write a static site generator, you can blog about it. And that can be the first and the last post of your blog. If you don't write one, the chance is good, your blog would stay empty.
Re: Why You Should Write Your Own Static Site Generator
#96These never come explaining Why html is to hard. Basics and ftp can be explained to a 12 year old in 10-20 minutes? I'd even argue (based on decades) that everything learned beyond the first 30 minutes is probably something you should not be using.
The SSR isn't to avoid HTML, it's for template purposes.
Re: Why You Should Write Your Own Static Site Generator
#97My own SSG is Django+Distill.
Re: Why You Should Write Your Own Static Site Generator
#98Re: Why You Should Write Your Own Static Site Generator
#99Lots of "don't reinvent the wheel" comments here. But if you're a developer, crafting a SSG for your own needs is a 2-3 hours project. Learning an existing one is roughly the same. But hey... it's a good opportunity to learn by doing, and even later appreciate other SSGs. My own SSG is Django+Distill.