{"id":13554837,"url":"https://github.com/jaredly/hexo-admin","last_synced_at":"2025-10-19T05:51:20.625Z","repository":{"id":19052985,"uuid":"22279234","full_name":"jaredly/hexo-admin","owner":"jaredly","description":"An Admin Interface for Hexo","archived":false,"fork":false,"pushed_at":"2022-12-22T12:43:05.000Z","size":5060,"stargazers_count":1780,"open_issues_count":73,"forks_count":302,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-05-12T18:46:41.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jaredly.github.io/hexo-admin/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaredly.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-26T05:31:45.000Z","updated_at":"2025-05-04T23:00:06.000Z","dependencies_parsed_at":"2022-07-23T02:16:16.666Z","dependency_job_id":null,"html_url":"https://github.com/jaredly/hexo-admin","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fhexo-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fhexo-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fhexo-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredly%2Fhexo-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredly","download_url":"https://codeload.github.com/jaredly/hexo-admin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198514,"owners_count":22030965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:02:55.897Z","updated_at":"2025-10-19T05:51:20.514Z","avatar_url":"https://github.com/jaredly.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# Maintainer wanted!\nThis project has a ton of people using it, but I (@jaredly) haven't used Hexo in several years. If you use this plugin, and are interested in helping maintain it, I'd love your help! To volunteer, start making pull requests fixing bugs \u0026 making things better :) if I'm not responsive, feel free to bug me on twitter (@jaredforsyth).\n\n\n![logo](docs/logo.png?raw=true)\n\nAn admin UI for the [Hexo blog engine](http://hexo.io). Based off of the [Ghost](http://ghost.org) interface, with inspiration from [svbtle](http://svbtle.com) and [prose.io](http://prose.io).\n\n## Hexo Version\n\nFor 2.x, use version `0.3.0` of this plugin. Version `1.x` and beyond only\nsupport Hexo v3.x.\n\n### Contents\n- [**Screenshots**](#screenshots)\n- [**Quickstart**](#quickstart)\n- [**Credits**](#credits)\n\n# Local use vs deployment\nThis plugin was originally designed as a local editor -- you run hexo locally, use `hexo-admin` to author posts, and then use `hexo generate` or `hexo deploy` to send the generated static HTML files up to github pages or some other static server.\n\nHowever, `hexo-admin` can be run on your live blog, as long as you're using a non-static hosting service such as Heroku, DigitalOcean, etc. Static hosting services such as Github pages and Surge.sh does not support running hexo-admin from your live site.\nIf you're using Hexo admin from your live blog, you should definitely set up a password (see below) -- otherwise anyone will be able to edit your content.\n\n# Screenshots\n![posts view](docs/pasted-0.png?raw=true)\n\n![editor view](docs/pasted-1.png?raw=true)\n\n# Quickstart\n### 1. Setup hexo \u0026 create a blog\n```sh\nnpm install -g hexo\ncd ~/\nhexo init my-blog\ncd my-blog\nnpm install\n```\n### 2. Install the admin \u0026 start things up\n```sh\nnpm install --save hexo-admin\nhexo server -d\nopen http://localhost:4000/admin/\n```\n### 3. Profit!\nThe UI should be pretty discoverable -- let me know if you can't find something.\n\n### 4. Password protection\nIf you're using Hexo admin on your live server, you want some password\nprotection. To enable this, you just add a few config variables to your hexo\n`_config.yml`:\n\n```\nadmin:\n  username: myfavoritename\n  password_hash: be121740bf988b2225a313fa1f107ca1\n  secret: a secret something\n```\n\nThe `password_hash` is the bcrypt hash of your password. The `secret` is used\nto make the cookies secure, so it's a good idea to have it be long and\ncomplicated.\n\nA utility in Hexo admin's Settings can hash your password and generate the `admin`\nsection for you. Start Hexo and go to `Settings \u003e Setup authentification`\nand fill out your information. Copy the generated YAML into your `_config.yml`.\n\nOnce that's in place, start up your hexo server and going to `/admin/` will\nrequire you to enter your password.\n\n### 5. Custom post metadata\nTo add and edit your own post metadata with the admin interface, add the\nmetadata variable and your custom variables to your hexo `_config.yml`:\n```\nmetadata:\n  author_id: defaultAuthorId\n  language:\n```\nYou can provide default values that will be used to initialize the metadata\nof a new post. These can be either primitives or arrays.\n\n### 6. Contribute!\n- let me know how it can be improved in the [github\n  issues](https://github.com/jaredly/hexo-admin/issues)\n- [fork](https://github.com/jaredly/hexo-admin) and pull-request\n\n# Credits\n\nbuilt with ❤ by [Jared Forsyth](http://jaredly.github.io)\n([@jaredforsyth](http://twitter.com/jaredforsyth)) using\n[react](http://facebook.github.io/react), [browserify](\nhttp://browserify.org), and [less](http://lesscss.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredly%2Fhexo-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaredly%2Fhexo-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaredly%2Fhexo-admin/lists"}