This is a hexo site admin tool(works only on your local machine.). You can use this tool to manage your posts, pages, drafts and trash, even can launch hexo server and deploy your site! Try it out!
Requirement
node version 4.x or later
Support
OS: windows and unix-like
Browser: highly recommend latest chrome and firefox. also support any other latest modern browsers.
-
Please backup your
_source
directory, just for safety -
The deploy button means run
hexo deploy -g
command. So before you use this feature, please make sure you can manually use this command to deploy your site. More info about hexo deploy: hexo doc: deployment -
(*nix os) if you can't set root path or theme name, try add
sudo
before command.
-
install
npm install -g hexo-local-admin
-
use command
hexo-admin -h
will get:
Usage: hexo-admin [options] [command] Commands: start Start hexo local admin server Options: -h, --help output usage information -V, --version output the version number -r, --root-path [root_path] view/set hexo root path -t, --theme-name [theme_name] view/set hexo theme name
-
enjoy!
MIT