Skip to content

a hexo dashboard plugin writen by vue3, for live blog server with hexo-server

License

Notifications You must be signed in to change notification settings

xjpin/hexo-myadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-myadmin

a hexo dashboard plugin, for live hexo server.

example

USAGE

Node.js >= 12.0.0 required.

    # install hexo-myadmin
    npm i hexo-myadmin --save

    # start server with global hexo-cli
    hexo server

    # or with pm2 as deamon
    pm2 start node_modules/.bin/hexo -- server

    # visit localhost:4000/admin

Password Protection

you can add a few config variables to your hexo _config.yml:

admin:
  username: myfavoritename
  password_hash: be121740bf988b2225a313fa1f107ca1
  secret: a secret something

The password_hash is the bcrypt hash of your password. You can use this site to come up with that, or whatever you want. The secret is used to make the cookies secure, so it's a good idea to have it be long and complicated.

Thanks

hexo-admin

Contribute

Releases

No releases published

Packages

No packages published