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

@lininn/zz

v0.1.1

Published

AI coding assistant CLI — zz command

Readme

@lininn/zz

AI 编码助手 CLI —— zz 命令。

安装

npm install -g @lininn/zz

要求 Node.js >= 24。

使用

终端 TUI 模式

zz

启动交互式终端 UI,与 AI 对话编码。

单次提问

zz -p "用 Python 写一个快速排序"

Web 聊天页面

zz --web

启动本地 Web 服务器(默认端口 3030)并自动打开浏览器,在浏览器里与 AI 聊天。

端口被占用时自动切换到下一个可用端口。也可手动指定:

zz --web --web-port 8080

模型配置页

zz --web-config

打开浏览器配置自定义模型 Provider(Claude / OpenAI 兼容接口),配置写入 ~/.zcode/ 。

其他常用命令

zz --version          # 查看版本
zz --help             # 查看帮助
zz doctor             # 诊断环境信息
zz login              # 登录
zz plugin             # 插件管理
zz skills             # 技能管理

远程控制(手机操控 PC)

  1. PC 上启动 zz --web(或 TUI 模式)
  2. PC 上运行 connector(zcode-relay 的 connector),绑定账号
  3. 手机浏览器访问中转地址,登录后即可远程操控 PC 上的 ZCode

中转服务器支持多版本共存:手机端看到的页面版本与 PC 端运行的 ZCode 版本自动匹配。

配置

  • 配置目录:~/.zcode/
  • Provider 配置:~/.zcode/v2/personal-provider-config.json(通过 zz --web-config 编辑)
  • 环境变量:
    • ZCODE_WEB_STATIC_ROOT — 指定 web 静态文件目录(zz --web 托管)
    • PORT — server 端口(默认 3030)

许可证

详见项目 LICENSE 文件。