flieswiming / hexon

Let's hexo online.

Home Page:https://hexon-demo.yujianghao.cn/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexon

Let's hexo online!

GitHub release (latest by date)

❔ How it works?

Hexon is a GUI for hexo with git, run commands and manage content for you.

⭐️ Features

  • Post and page management
  • Front-matter template
  • Online image management use imageur

📘 Guide

Before Install

Make sure your git, hexo and Node.js workflow is fine. Hexon only provide a GUI for these commands, but not implement them.

Install

git clone https://github.com/gethexon/hexon
pnpm install
pnpm run setup

Uninstall

Just remove the folder you just cloned

rm -rf hexon

Start

For plain Node.js:

pnpm start

For better devOps with pm2

pnpm prd
# or integrate pm2 with `pnpm start` manually

Update

Just uninstall the old one and install the new one.

💻 Commands

  • pnpm run setup: install and config
  • pnpm start: start hexon with node
  • pnpm prd: start hexon with pm2
  • pnpm resetpwd: reset password
  • pnpm script: manage custom script

You can replace hexon commands with your own bash script inside hexo blog folder.

e.g. modify git sync script

  1. write your script in <hexo-blog-path>/git_sync.sh
  2. run pnpm script
  3. select git sync
  4. set script to bash ./git_sync.sh

🖥️ Develop

  • Check out main branch.
  • Run pnpm dev-init install dependencies and config hexon.
  • Run pnpm dev and show your magic!

💩 Have trouble?

TRY NOT ASK QUESTION VIA QQ GROUP. SOLUTIONS IN QQ GROUP WON'T HELP OTHERS.

❓ Want to know more?

Start a discussion or join us via QQ group 590355610.

👌🏻 FAQ

404 Error

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.

Star history

Star History Chart

Contributors

License

GPL-3.0 © winwin2011

About

Let's hexo online.

https://hexon-demo.yujianghao.cn/#/

License:GNU General Public License v3.0


Languages

Language:TypeScript 57.8%Language:Vue 27.4%Language:JavaScript 14.6%Language:HTML 0.1%Language:Less 0.1%Language:Shell 0.0%