npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

kingwdy-hexo-admin-zhcn

v3.0.2

Published

Adds an admin section to the hexo server

Downloads

8

Readme

logo

[Hexo博客引擎]的管理UI(http://hexo.io). 基于幽灵界面,灵感来自svbtle散文.

Hexo版本

2022.7.16 目前支持最新版HEXO,本汉化将实时同步hexo-admin

目录

本地使用与部署

这个插件最初设计为一个本地编辑器——在本地运行hexo,使用kingwdy-hexo-admin-zhcn创作帖子,然后使用hexo generatehexo deploy生成的静态HTML文件发送到github页面或其他静态服务器。

不过,只要你使用非静态托管服务,如HerokuDigitalOcean等,就可以在你的live博客上运行kingwdy-hexo-admin-zhcn。静态托管服务,如Github pagesSurge.sh不支持从您的live站点运行kingwdy-hexo-admin-zhcn

如果你在live博客中使用kingwdy-hexo-admin-zhcn,你一定要设置密码(见下文)——否则任何人都可以编辑你的内容。

屏幕截图

posts view

editor view

快速启动

1、设置hexo并创建博客

npm install -g hexo
cd ~/
hexo init my-blog
cd my-blog
npm install

2.安装kingwdy-hexo-admin-zhcn并启动

npm i kingwdy-hexo-admin-zhcn
hexo server -d
open http://localhost:4000/admin/

3、利润!

用户界面应该很容易发现——如果你找不到什么,请告诉我。

4、密码保护

如果你在live server上使用Hexo admin,你需要一些密码 保护为了实现这一点,只需在hexo中添加几个配置变量 _config.yml:

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

“password\hash”是密码的bcrypt哈希。使用秘密 为了保证饼干的安全,最好把饼干放长一点(复杂的)

kingwdy-hexo-admin-zhcn设置中的实用程序可以散列您的密码并生成admin 为您准备的部分。启动Hexo,进入“设置>设置身份验证” 并填写您的信息。将生成的YAML复制到您的```_config.yml

一旦这一切就绪,启动hexo服务器并转到/admin/将要要求您输入密码。

5、自定义post元数据

要使用管理界面添加和编辑您自己的帖子元数据,请添加 元数据变量和自定义变量_config.yml:

metadata:
  author_id: defaultAuthorId
  language:

您可以提供用于初始化元数据的默认值 一个新职位。这些可以是基元或数组。

6、贡献!

信用

本插件为KINGWDY汉化!具体事项请看我的博客