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

mbbs

v1.3.0

Published

轻量级全功能论坛,移动/PC双端适配,无依赖一键启动

Downloads

34

Readme

npm version MIT License


预览

preview-image

一键安装启动

无需繁琐的安装配置,一键安装并启动论坛,查看更多启动参数

安装:

npm i -g mbbs # 全局安装 mbbs 模块
# 使用的部分依赖库(sqlite3、bcrypt)在安装时会从 github 下载 prebuild 文件
# 可能会由于国内网络问题,在快结束时卡住,请耐心等待,如果失败请重试

启动:

cd ./要部署论坛的目录
mbbs serve # 在当前目录启动论坛服务

如果提示 npm 命令找不到,需要先安装 Node.js 最新版本

特性

  • 无依赖一键部署启动
  • 移动/PC 双端兼容
  • Material Design 视觉风格
  • 可视化后台管理
  • 全功能论坛:版块/楼中楼/角色权限/审核/富文本编辑/个性化配置/邮件通知 等
  • 自带授权登录:免开发支持 QQ/微信/支付宝 授权登录

更多启动参数

命令行启动论坛时,可以用 mbbs serve --参数名1 参数值1 --参数名2 参数值2 的形式指定更多可选参数

  • --db: 指定论坛的数据库文件名,默认为 bbs,启动后会在当前目录创建/使用 <参数值>.db Sqlite 数据库文件
  • --res-dir: 指定 上传图片/视频/附件 的本地储存目录,默认为 ./resources
  • --port: 指定论坛启动在本机的端口,默认为 884
  • --set-admin-password: 使用这个参数在启动论坛时,重置管理员密码为参数值

论坛托管服务

你还可以选择使用 MBBS 论坛托管服务 一键创建并托管你的论坛,免去购买 服务器/域名/安装 等步骤。

托管后,如果想转为私有服务器部署,可以直接在托管后台导出论坛数据,使用开源版本 MBBS 私有化部署。

定制开发论坛

如果论坛当前能力/特性不能满足你的诉求,你可以直接 修改定制开源版本:

  • git clone 至本地并 cd 进目录
  • 开发调试:npm run dev
  • 正式运行:npm run start

技术栈

开发过程中如果什么问题,也可以 在此交流

Star & PR

喜欢的朋友帮忙给个 Start,欢迎提 PR!