Cody Shepp

Twitter | Github | LinkedIn

Migrating to a static blogging platform


Published on 6/27/2014

It's been about 2 years since I first started this blog, and I've made < 10 total posts. It's time for something new.

Originally I built this blog using WordPress because it was easy to install, easy to customize, and easy to update. While CMS platforms can be a really great tool for those that are not tech-savvy, I always found WordPress to be clunky and annoying. I've been wanting to experiment with a static site generator for quite some time now, and this seems like the perfect opportunity. I looked in Jekyll and Ghost, but I ended up taking ~2 hours to just roll my own static site generator using Node.js....and it was super easy to do.

The whole idea behind a static site generator is that you don't have to worry about a database (or any of the associated attack vectors), but you don't have to maintain the entire codebase by hand - the generator will take care of paging, links, etc.

I've decided not to publish my site generator through an official repo, but you can grab the main script here. It should help you understand my thought process and will point you in the right direction if you're itching to make your own static site generator. I'm just happy to be rid of WordPress!