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

@fccf/theo

v1.0.1

Published

Globally configures a git post-commit hook across all repositories

Downloads

141

Readme

Theo

本地 AI 驱动的自动代码审查工具。每次 git commit 后自动触发代码审查,生成结构化报告,并提供 Web 仪表盘浏览历史记录。

功能特性

  • 自动审查 — 提交后自动在后台执行代码审查,不阻塞工作流
  • 三维审查维度 — 卫生检查(调试残留、死代码)、风险识别(逻辑缺陷、安全漏洞)、优化建议(性能、可读性)
  • Web 仪表盘 — 按项目、分支浏览所有审查记录
  • 系统托盘 — macOS 托盘图标,快捷打开 Web 界面
  • Hook 兼容 — 支持 Husky、Lefthook 等已有 hook 管理器
  • 桌面通知 — 审查完成后推送系统通知
  • 可安装为 PWA — 支持添加到桌面,独立窗口运行

前置条件

  • Node.js >= 18
  • Claude CLI — 需要在 PATH 中可用(安装指南

安装

npm install -g @fccf/theo

安装完成后自动完成初始化,并在浏览器中打开仪表盘。

快速开始

安装后,在任意 git 仓库中正常提交即可触发审查:

cd your-project
git commit -m "feat: add login page"
# Theo 自动在后台运行审查,完成后打开报告

CLI 命令

theo setup       # 安装钩子、启动服务和系统托盘
theo teardown    # 卸载并清理所有 Theo 文件和服务
theo inject      # 将 Theo 钩子注入当前项目(用于 Husky/Lefthook 项目)
theo remove      # 从当前项目中移除 Theo 钩子
theo doctor      # 检查安装状态是否健康
theo update      # 检查更新并重新执行 setup
theo version     # 显示当前版本

Husky / Lefthook 项目

如果项目使用了 Husky 或 Lefthook 等 hook 管理器,全局钩子可能被覆盖。在项目根目录执行:

theo inject

Web 仪表盘

安装后自动在 http://localhost:17930 启动。

| 页面 | 说明 | |------|------| | 首页 | 项目列表,显示各项目的审查数量和最近审查时间 | | 项目页 | 按分支分组展示某个项目的所有审查记录 | | 审查详情 | 显示完整审查内容:提交信息、分支、具体发现 | | 设置 | 全局开关(自动打开审查、禁用项目列表) |

卸载

npm uninstall -g @fccf/theo

卸载时自动清理所有文件和配置。

License

MIT