Hacker News new | ask | show | jobs
by ggoss 2559 days ago
You aren't wrong — indeed, many static site generators are capable of doing exactly that — but I wouldn't go so far as to say that no other existing solutions were adequate.

As for Hexo, it looks like a great option, but it's written in Javascript — a language and ecosystem that I'm not terribly familiar with. While I could certainly learn it, doing so specifically to use Hexo (which I'd then need to configure, and possibly extend to my liking) adds an extra yak I'd need to shave to get started. I'm sure I could use it without learning Javascript, but troubleshooting or extending it would be more difficult, and I'd still need to adapt to the workflow it was designed around.

I was looking for a static site generator with all of the features I knew I wanted (like table of contents generation and seamless image compression/scaling), and all of the features I didn't yet know I wanted (like specified/fixed table column widths), so it needed to be easily extendable. I also wanted to get off the ground quickly, so it needed to written in a language that I was already comfortable with. Lastly, and most subjectively of all, the workflow needed to feel right.

Ultimately, it came down to the choice of (a) spending my time learning how to adapt to someone else's ideal solution, or (b) spending my time creating my own (or something like it). I chose the latter, and like you said, it was a great learning experience.

Thanks for taking the time to have a look.

1 comments

Thanks for the detailed reply! I understand now. There's a huge overhead to learning a new framework/language/ecosystem and it might not even meet the requirements you need.

Even if there's something that's good enough, I still like that people go through the process of making their own system. Completely fresh approaches are great way to learn and appreciate the time that goes into a framework and how hard it is to achieve; extensibility, performance, flexibility, security...etc

I had a quick look at the Github and it's great to see how concise and easy to follow the framework is, that's a lot harder with older Frameworks like hexo.

Anyway hope you keep developing it further!

Many thanks! I'll definitely keep working on it, albeit a bit more slowly now that the blog is up and running.

Next, I'd like to make improvements to navigation and article discoverability on the site; I'm not yet sure what changes I'll make to the generator to accomplish this, but I'm sure there will be some (if you have any suggestions, I'd be glad to hear them). After that, we'll see!

Thanks again for having a look!