Hacker News new | past | comments | ask | show | jobs | submit login

Not to knock your system since it sounds like it works great, but why not use a static site generator?

That seems like it'd do the same thing and just take out some of the drudgery.




He is a static site generator.


Why add another layer? Right now the only tool he needs is an editor. That's it. Can't get any simpler than that. He also probably has a set of templates by now.


> Why add another layer?

The answer given:

> to take out some of the drudgery


At the end of the day the drudgery they are doing is writing the post, something they'd have to do anyway on a static site generator. Writing the raw html likely takes no friction at all, since they are probably copying and pasting some template or at this point know all the tags they use by heart so its no harder than a more abstract method.


> It's not pretty, but it's zero maintenance. I've been doing that for 10 years now, and I don't think I'd ever go back to a third-party dependency.

SSG is third-party dependency in one way.


It seems to me that a text editor is the same sort of dependency as a static site generator. Especially if you store the resulting site as rendered.


Comparing the complexity of operating and maintaining a SSG to using a simple text editor is just about the most HN comment I've ever read. My blog is written with Gatsby (which I use as a SSG), and about once per year I have to dedicate and entire weekend to troubleshoot because I can no longer run the SSG due to changes in the Node/npm ecosystem. There is absolutely no corollary to using a text editor. Literally nobody will have to spend a weekend figuring out "what do I have to do to get notepad to open a .html file with today's technology". Nobody! Notepad just opens the .html file, just like it opened the same file a year ago, or 10 years ago. No need to burn weekends over opening a file!


You can drop in whatever text editor you like though. It's only a dependency like saying a keyboard is a dependency to writing code. There will always be new editors or you can use a 40 year old one just fine too. Can't say the same about the static site generator though, maybe your setup works when you swap one generator for another maybe it doesn't.


I don’t think a text editor can be called a dependency when every computer in the last 30 years has shipped with one.

At the end of the day you have to pull in a SSG from elsewhere and run it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: