Nocturnally Psychologizing Millipede
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

hexo-myadmin

0.3.2 • Public • Published

hexo-myadmin

a hexo dashboard plugin, for live hexo server.

Screenshots

posts view

editor view

login view

USAGE

    # install hexo-myadmin 
    hexo 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

install

npm i hexo-myadmin

Downloadsweekly downloads

15

version

0.3.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability