@winwin/hexo-editor-client v0.1.4
@winwin/hexo-editor-client
A Hexo Editor Client by winwin2011
Schreenshots
Please visit @winwin/hexo-editor homePage
Feature
- Post add/delete/update and preview
- Post puiblish/unpublish/drafts
- Markdown editor
- categories
- tags
- git push/reset/pull
- hexo generate/deploy/clean
- Basic authentication
- front-matters
- Post sort
- Search
Image CDN(use picgo instead)- let me know what you need ...
Installation
Use as a stand alone web app with @winwin/hexo-editor
If you run this client locally, prebulid version with localhost settings is recommended. See @winwin/hexo-editor HomePage
Download code and dependences.
git clone git@github.com:YuJianghao/winwin-hexo-editor-client.git
sudo npm install -g @quasar/cli
npm install
Configure .env file
This project use ./.env
as env file for dev and prod.
# you can change these values base on your server address and routes
HEXO_SERVER_ROOT='http://localhost:5777'
If your server run at http://example.com:5777/myapps/hexoeditor/
Then HEXO_SERVER_ROOT
sould be http://example.com:5777/myapps/hexoeditor
Build the app
quasar build
Deploy
Move dist files from hexo-editor-client/dist/spa
to hexo-editor/public
. Then start hexo-editor
service
Use as a Vue Page Component
Just figure out how this client work and hack it into your app!
Please raise a issue if you really need to use this as component, so I can afford some help.
Notice
This project is on early devleopmemt stage, API may changes everyday you wake up 😜! I will do my best to keep it working at anytime. If not, please send an issue here.
Contribute
All kinds of PR are welcomed, including crazy change!
Acknowledgement
hexo-client by gaoyoubo (homepage) and hexo-admin by jaredly (homepage). I learnt a lot about hexo usage from them!
gridea - A static blog writing client (honepage). Gridea shows me how to use monaco editor!
koel - A personal music streaming server that works (homepage). Koel shows me how to use stores to manage data!