Personal adventures in software engineering. And sometimes other things.

Getting started with Hexo

Hexo is dumb easy to get started with. I’ve been very pleased with it. I’m already a daily user of both npm and yarn so it’s been very nice to have a whole blog generator that operates in a familiar space.

In a handful of quick commands I can have a blog generated and previewable:

npm install -g hexo-cli

hexo init blog

cd blog

npm install

And then in two separate terminals so I can watch everything:

hexo generate --watch

hexo server

Visit http://localhost:4000/ in a browser.

Done.

I mean, wow. That’s really cool. Beyond that you’ll likely want to do a fair amount of customization but, even taking that into consideration, the start-up really is impressive in my book.

You can even get a noteworthy level of “personalization” since the themes make it easy enough to switch away from that…ehm, we’ll say “feature showroom” default theme. Just pick something that’s good enough for you and you’re set.

It makes me want to contribute. Perhaps one day.