Let's hexo online!
English | 中文
Hexon is a GUI for hexo with git, run commands and manage content for you.
- Post and page management
- Front-matter template
Online image managementuse imageur
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 setupJust remove the folder you just cloned
rm -rf hexonFor plain Node.js:
pnpm startFor better devOps with pm2
pnpm prd
# or integrate pm2 with `pnpm start` manuallyJust 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 script
You can replace hexon commands with your own bash script inside hexo blog folder.
e.g. modify git sync script
- write your script in
<hexo-blog-path>/git_sync.sh - run
pnpm script - select
git sync - set script to
bash ./git_sync.sh
- Check out
mainbranch. - Run
pnpm dev-initinstall dependencies and config hexon. - Run
pnpm devand show your magic!
- Read FAQs below.
- Search in Issue list.
- Add new Issue.
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.jsOr hexon failure. Just raise an issue.
If you are using Apache's reverse proxy...
Please make sure to add `AllowEncodedSlashes NoDecode` in your `VirtualHost` configuration, and add `nocanon` at the end of the `ProxyPass` setting.See https://stackoverflow.com/questions/52034899/express-nodejs-server-through-apache-proxy-error-404-for-route-with-express-par and https://stackoverflow.com/questions/4390436/need-to-allow-encoded-slashes-on-apache
Example:
<VirtualHost *:443>
ServerName blog-admin.example.com
SSLCertificateFile /etc/certificates/example.com.crt
SSLCertificateKeyFile /etc/certificates/example.com.key
SSLCertificateChainFile /etc/certificates/example.com.crt
SSLEngine On
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:5777/ nocanon
ProxyPassReverse / http://localhost:5777/
</VirtualHost>
GPL-3.0 © winwin2011