
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
基于 Node.js 的静态博客框架.
施工中.
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
git clone git@github.com:ruiming/bindo.git
npm install
请修改 config.yml
进行配置
npm start
访问 /bindo
即可进入后台管理页面, 需要先进行初始化配置及登录. 之后在上面书写管理博客即可, 系统会自动重新构建静态博客.
兼容 hexo
的 asset_img
的图片插入写法.
FAQs
基于 Node.js 的静态博客框架.
We found that bindo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.