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

openclihub

v0.1.2

Published

Search, browse and install CLI tools from OpenCLI Hub

Readme

OpenCLI Hub CLI

Search, browse and install CLI tools from the terminal

English | 中文

npm License: MIT

🌐 Website: openclihub.com


Install

npm install -g openclihub

Or run directly without installing:

npx openclihub list

📖 Usage

List all tools

openclihub list
openclihub list --type official
openclihub list --category "Developer Tools"
openclihub list --json              # JSON output for AI agents

Search tools

openclihub search browser
openclihub search database --json

View tool details

openclihub info lark-cli
openclihub info supabase-cli --json

Install a tool

openclihub install supabase-cli         # Human install (runs install_command)
openclihub install lark-cli --agent     # Agent install (outputs README URL)
openclihub install supabase-cli -y      # Skip confirmation

Authenticate (QR code support)

For tools that require login (e.g. Lark CLI), the auth command helps AI agents in IM tools handle QR codes:

openclihub auth lark-cli                        # ASCII QR in terminal
openclihub auth lark-cli --qr-image /tmp/qr.png # Save QR as PNG (for IM bots)
openclihub auth lark-cli --json                  # JSON with auth URL + QR base64

Other commands

openclihub categories       # List all categories
openclihub stats            # Show hub statistics
openclihub open lark-cli    # Open tool page in browser
openclihub open lark-cli --github   # Open GitHub repo

Global options

openclihub --json           # All commands support JSON output
openclihub --api-url <url>  # Custom API URL

🤖 AI Agent Integration

Every command supports --json for structured output. AI agents can:

  1. Discover tools: openclihub search "browser automation" --json
  2. Get install instructions: openclihub install browser-use-cli --agent
  3. Handle QR auth: openclihub auth lark-cli --qr-image /tmp/qr.png → send PNG to IM chat

📄 License

MIT


📖 使用方法

列出所有工具

openclihub list
openclihub list --type official       # 筛选官方工具
openclihub list --category "Developer Tools"
openclihub list --json                # JSON 输出(AI Agent 友好)

搜索工具

openclihub search browser
openclihub search 数据库 --json

查看工具详情

openclihub info lark-cli
openclihub info supabase-cli --json

安装工具

openclihub install supabase-cli         # 人类安装(执行 install_command)
openclihub install lark-cli --agent     # Agent 安装(输出 README URL)
openclihub install supabase-cli -y      # 跳过确认

认证(QR 码支持)

对于需要登录的工具(如飞书 CLI),auth 命令帮助 AI Agent 在 IM 工具中处理扫码认证:

openclihub auth lark-cli                        # 终端 ASCII QR 码
openclihub auth lark-cli --qr-image /tmp/qr.png # 保存 QR 为 PNG(发到 IM 聊天)
openclihub auth lark-cli --json                  # JSON 输出认证 URL + QR base64

其他命令

openclihub categories       # 列出所有分类
openclihub stats            # 显示统计信息
openclihub open lark-cli    # 在浏览器中打开工具页面
openclihub open lark-cli --github   # 打开 GitHub 仓库

🤖 AI Agent 集成

所有命令都支持 --json 结构化输出。AI Agent 可以:

  1. 发现工具openclihub search "browser automation" --json
  2. 获取安装指令openclihub install browser-use-cli --agent
  3. 处理扫码认证openclihub auth lark-cli --qr-image /tmp/qr.png → 将 PNG 发到 IM 聊天

📄 许可证

MIT