Let's hexo online!
English | 中文
Hexon is a GUI for hexo with git, run commands and manage content for you.
Make sure your git
, hexo
and Node.js
workflow is fine. Hexon only provide a GUI for these commands, but not implement them.
git clone https://github.com/gethexon/hexon --depth 1
cd hexon
pnpm install
pnpm run setup
Just remove the folder you just cloned
rm -rf hexon
For plain Node.js:
pnpm start
For better devOps with pm2
pnpm prd
# or integrate pm2 with `pnpm start` manually
Just uninstall the old one and install the new one.
pnpm run setup
: install and configpnpm start
: start hexon with nodepnpm prd
: start hexon with pm2pnpm resetpwd
: reset passwordpnpm script
: manage custom scriptYou can replace hexon commands with your own bash script inside hexo blog folder.
e.g. modify git sync
script
<hexo-blog-path>/git_sync.sh
pnpm script
git sync
bash ./git_sync.sh
main
branch.pnpm dev-init
install dependencies and config hexon.pnpm dev
and show your magic!Start a discussion.
Maybe mistakes in revert proxy config(e.g. Nginx or Apache config). To verify, use curl
on your server directly request assets without any revert proxy. This should be a command looks like:
curl http://localhost:5777/assets/HMonacoEditor.5101bbae.js
Or hexon failure. Just raise an issue.
GPL-3.0 © winwin2011