Blogging with Hexo

What

Set up a Node.js powered flat file blog using hexo hosted on github pages.

Why

  1. You can use your own editor! (hint: vim)
  2. Flat text documents make mouths happy!
  3. You can revision control everything through git!
  4. Cheap as free to get started!
  5. Learn you some hot node.js!
  6. Because ghost seems more hipster than Sriracha sauce

How

  1. Setup a yourgithubusername.github.io page following this guide
  2. Follow the hexo documentation install using Node Version Manager similar to python's virtualenv
  3. Configure the _configure.yml file

ProTips

  1. Play with some of the hexo themes
  2. I kind of liked Greyshade Theme

    $ cd ~/hexoblog/themes
    $ git clone https://github.com/nuklly/hexo-theme-greyshade ./greyshade
    $ vim ~/hexoblog/_config.yml # theme: greyshade

Example Workflow

$ cd ~/hexoblog
$ hexo new page about # do this once to generate your about page
$ hexo new post "Great New Post" # it defaults to post so can omit that word
# <edit the .md file in vim>
$ hexo generate
$ hexo deploy
Copyright © 2013 - ubergarm - Powered by Hexo
- Ported theme GreyShade -