hexo-myadmin0.4.3 • Public • Published
a hexo dashboard plugin, for live hexo server.
Node.js >= 8.0.0 required.
# install hexo-myadminnpm i hexo-myadmin --save# start server with global hexo-clihexo server# or with pm2 as deamonpm2 start node_modules/.bin/hexo -- server# visit localhost:4000/admin
you can add a few config variables to your hexo
admin: username: myfavoritename password_hash: be121740bf988b2225a313fa1f107ca1 secret: a secret something
password_hash is the bcrypt hash of your password. You can use this
site to come up with that, or whatever you
secret is used to make the cookies secure, so it's a good idea to
have it be long and complicated.