Numerous Philanthropic Misanthropes

    hexo-myadmin

    0.4.3 • Public • Published

    hexo-myadmin

    a hexo dashboard plugin, for live hexo server.

    Screenshots

    posts view

    editor view

    login view

    USAGE

    Node.js >= 8.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

    Install

    npm i hexo-myadmin

    DownloadsWeekly Downloads

    1

    Version

    0.4.3

    License

    MIT

    Unpacked Size

    1.34 MB

    Total Files

    19

    Last publish

    Collaborators

    • thesadabc