hexo-admin

Adds an admin section to the hexo server

An admin UI for the Hexo blog engine. Based off of the Ghost interface, with inspiration from svbtle and prose.io.

Currently, hexo-admin supports only version 2.x of Hexo

Screenshots

Quickstart

npm install -g hexo@2.x
cd ~/
hexo init my-blog
cd my-blog
npm install
npm install --save hexo-admin-plugin
hexo server -d
open http://localhost:4000/admin/

The UI should be pretty discoverable -- let me know if you can't find something.

If you're using Hexo admin on your live server, you want some password protection. To enable this, you just add a few config variables to your hexo _config.yml:

admin:
  username: myfavoritename
  password_hash: be121740bf988b2225a313fa1f107ca1
  secret: a secret something

The password_hash is the md5 hash of your password. You can use this site to come up with that, or whatever you want. The secret is used to make the cookies secure, so it's a good idea to have it be long and complicated.

Once that's in place, start up your hexo server and going to /admin/ will require you to enter your password.

Credits

built with ❤ by Jared Forsyth (@jaredforsyth) using react, browserify, and less.