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

@weibaohui/dsh-git-server

v0.2.4

Published

dsh 插件 · Git 服务器:独立端口跑完整 Git 服务(HTTP clone/push、网页端、issue/PR/wiki/发版/标签/里程碑/webhook),可复用 user-management 账号,局域网可 clone,设置页一键启停、崩溃自动拉起。

Readme

@weibaohui/dsh-git-server

DSH plugin npm version

Git 服务器插件:把一套完整的自助 Git 服务装进 dsh——HTTP clone/push、工单、PR、wiki、发版、标签、里程碑、webhook 全功能,网页侧全程是 dsh 原生界面,账号可复用 user-management。

核心功能

  • 完整自助 Git 服务:HTTP clone/push 开箱即用,仓库/工单/PR/wiki/发版/标签/里程碑一条龙,崩溃自动拉起
  • dsh 原生管理页:侧栏底部「Git」进全屏页——建仓(或从 URL 导入/镜像)删仓/克隆地址,仓库浏览多标签(文件树+语法高亮、提交历史、分支、工单、PR、Wiki、发版、标签、里程碑、设置);React + dsh 主题(亮暗自动跟随)、zh/en 双语
  • 协作闭环:通知中心(评论/指派/@提及未读 + 侧栏角标)、跨仓库「我的工单/PR」聚合、PR 评审(通过/请求修改)、fixes #N push 自动关单、提交与工单互相跳转
  • 工程能力:分支保护(禁删/禁强推)、协作者只读/可写/管理三档、发版二进制附件、仓库内代码搜索、webhook 测试投递与投递记录、文件永久链接深链
  • 账号打通:账户来源 = user-management(必装)——git 凭据与页面登录均走 user-management 校验,免另记一套账号;网页注册关闭,账号只由 dsh 管理
  • 一键启停:启用/停用/端口/数据目录全在设置页,改完即生效
  • 局域网 git:默认监听 0.0.0.0,局域网内机器可直接 git clone/push
  • 数据自持:数据目录 = 仓库 + 数据库 + 日志,备份整个目录即备份全部

安装

本插件依赖 user-management 提供登录与账户,必须先装:

dsh plugin --profile web add @weibaohui/user-management -w
dsh plugin --profile web add @weibaohui/dsh-git-server -w

装完重启 dsh web 即生效。

使用

  1. 打开 Web UI → 设置 → Git 服务器——默认已启用(监听 0.0.0.0:3400,无需勾选;要停用在设置页取消勾选),可在此改端口/数据目录/查看 root 密码

  2. 侧栏底部点「Git」进全屏管理页:新建仓库(或导入已有),照常开发

  3. git clone/push 走子进程端口,凭据用 user-management 的用户名密码:

    git clone http://127.0.0.1:3400/root/drill-repo.git
    cd drill-repo && git checkout -b feature && ... && git push origin feature
  4. 仓库浏览、工单、PR、wiki、发版、标签、里程碑等日常操作全部在原生管理页完成

联系我 :飞书群

link

版本兼容性

本插件与 DeepSeek Harness(@deepseek-ai/dsh)的版本对应关系:

| 插件版本 | 适配 dsh 版本 | 备注 | |---------|--------------|------| | 0.2.3 | 0.1.7-rc.2 | 当前版本;修复 Config 降级导出 null——宿主 settings schema() 不排除 null,会炸 settings.describe() 拖垮整份设置文档(同 dsh-continue#4) | | 0.2.0 | 0.1.7-rc.2 | 已在 @deepseek-ai/[email protected] 下验证运行 | | 0.1.3 | 0.1.7-rc.2 | 已在 @deepseek-ai/[email protected] 下验证运行 |

发版约定:每次发布新版本时,请在上表追加一行,记录该插件版本实际验证所用的 @deepseek-ai/dsh 版本。package.json 的 engines.dsh 声明最低支持版本;本表记录实际验证版本,二者配合使用。

功能巡览

主页

| 仓库列表 | 从 URL 导入/镜像 | |---|---| | 主页 | 导入 |

代码浏览

| 文件树+README | 语法高亮 | Blame | 文件历史 | 空仓库推送引导 | |---|---|---|---|---| | 文件树 | 高亮 | blame | 历史 | 空仓库 |

| 提交历史 | 提交 diff | 仓库内代码搜索 | |---|---|---| | 提交 | diff | 搜索 |

| 分支概况 | 分支与标签 | |---|---| | 分支 | 分支标签 |

工单 / PR / 协作

| 工单列表 | 工单详情 | 新工单 | |---|---|---| | 工单 | 工单详情 | 新工单 |

| 标签管理 | 里程碑 | PR 列表 | |---|---|---| | 标签 | 里程碑 | PR |

| PR 评审与合并 | 已合并 PR(评审记录) | |---|---| | PR评审 | PR已合并 |

| 通知中心 | 我的工单聚合 | 星标/复刻弹层 | |---|---|---| | 通知 | 我的工单 | 星标 |

Wiki / 发版

| Wiki 页面 | 发版(含二进制附件) | |---|---| | wiki | 发版 |

仓库设置

| 协作者(三档权限) | 分支保护 | Webhook 与投递记录 | 镜像同步 | 危险区域 | |---|---|---|---|---| | 协作者 | 分支保护 | webhook | 镜像 | 危险区域 |

全局页面

| 探索 | 组织 | 用户主页 | 管理面板 | |---|---|---|---| | 探索 | 组织 | 用户 | 管理 |