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

bindo

v0.2.6

Published

基于 Node.js 的静态博客框架.

Downloads

10

Readme

静态博客框架 Bindo

基于 Node.js 的静态博客框架.

施工中.

示例

https://ruiming.me/

使用

Bindo 提供两种部署方式. 支持本地部署或服务器部署. 本地部署下, 用户需要在本地自己写博客, 然后构建并发布到远程仓库上. 服务器部署下, Bindo 提供了一个简易的博客管理和书写系统, 你可以使用该系统来管理和书写您的博客.

本地

该方式和 Hexo 一样, 在本地写好博客后进行构建接着上传即可. 可以通过 Github Page 来部署.

  • 安装

    npm install bindo -g
  • 初始化

    找一个合适的地方执行以下命令.

    bindo i

    这会生成一个 bindo 文件夹, 该文件夹包含了用于存储 Markdown 文件的 posts 文件夹, 存放图片的 images 文件夹, 以及自动构建生成的 public 文件夹和配置文件 config.yml.

    posts 文件夹中的博客可以通过 /img/... 来引用 images 文件夹中的图片. 同时, 也支持 Hexo 的 asset_img 写法.

  • 配置

    不要忘了修改 config.yml 中的选项特别是 repo 仓库. 正确配置这一步, 同时确保你的机器上面安装有 Git.

  • 构建

    bindo 文件夹中执行命令.

    bindo g

    会自动的构建静态博客到 public 文件夹中.

  • 发布

    执行以下命令即可发布到 Repo 上面.

    bindo d

服务器

  1. Clone 或下载本项目
git clone [email protected]:ruiming/bindo.git
  1. 安装依赖
npm install
  1. 配置

请修改 config.yml 进行配置

  1. 运行
npm start

访问 /bindo 即可进入后台管理页面, 需要先进行初始化配置及登录. 之后在上面书写管理博客即可, 系统会自动重新构建静态博客.

兼容 hexoasset_img 的图片插入写法.