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 🙏

© 2024 – Pkg Stats / Ryan Hefner

hexo-pro

v1.1.18

Published

hexo pro a backend plugin for hexo

Downloads

80

Readme

Hexo pro

slogen:Hexo pro 一个属于你自己的博客后台

做这个项目的原因是自己搭建的个人博客用的是Hexo框架,Hexo-admin插件已经很久没有人维护了,随着博客量的不断增加一些使用体验方面不大好,不支持front-matter的修改,应此萌生了自己做一个Hexo博客后台的想法。 一开始是想用SpringBoot或者Go Hertz等后台框架来搭建后台服务,nginx托管静态文件,后台服务维护markdown文件,通过hexo命令行渲染更新静态文件,但是想了想这样做反而更复杂了,也看过github上开源的Hexo博客管理系统比如Qexo,感觉部署起来有点麻烦,还是直接装hexo插件来的方便,不会引入更多的东西。

我之前学的基本上都是后端,前端属于入门的水平,如果有大佬对这个项目感兴趣欢迎一起来贡献,目前这个版本能满足日常编写发布博客的需求,后续会慢慢迭代

走过路过的朋友、个人博客爱好者点个star支持下吧 thanks~~

交流群

欢迎加入QQ群1009585669,交流Hexo的使用心得,分享你的Hexo经验

支持的Hexo版本

Hexo pro 插件支持 Hexo 3.x

截图

posts view posts view posts view

特性

  • 支持创建编写博客
  • 支持创建编写页面
  • 支持图片粘贴上传
  • 支持post、page的front-matter编辑
  • 支持文章的全局搜索
  • 暗黑模式体验
  • 国际化

这个插件其实是采用前后端分离的方式编写的,这个插件在hexo的server当中添加了中间件,其实是作为后端,代理前端打包的静态文件,静态文件存放在www文件夹当中。 客户端的代码请看另外一个仓库: https://github.com/wuzheng228/hexo-pro-client

功能更新时间线

| 日期 | 版本 | 更新内容 | | ---------- | ------- | ------------------------------------------------------------------------------- | | 2024-08-29 | v1.1.16 | - 优化编辑器- 优化暗黑模式- 新增全局搜索 优化图片上传,支持批量上传 | | 2024-11-05 | v1.1.17 | - 支持普通文本tab键增加空格shift+tab键减少空格 |

快速开始

1.设置Hexo&创建博客

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

2.安装Hexo pro

npm install --save hexo-pro
hexo server -d
open http://localhost:4000/pro/

3.配置登陆账户与密码

需要在hexo的_config.yml中增加以下配置来使用账户密码登陆后台,不配置后台会直接登陆。 配置后使用jwt来保护后台访问的接口

hexo_pro:
  username: admin
  password: 123
  avatar: https: image for your own avata
  secret: xxx // jwt secret key

贡献

  • 如果你有问题或者相关的建议可以在issues当中向我提出修改意见
  • 目前只是支持了最基本的博客编辑能力,如果你想让hexo-pro支持更多的功能请一起来建设