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

gearbox-code

v0.12.2

Published

A beautiful multi-provider coding harness for the terminal. (Intelligent model routing lands on top of this soon.)

Readme

gearbox

Install

macOS, Linux, WSL:

curl -fsSL https://unpkg.com/gearbox-code@latest/install.sh | bash

Windows PowerShell:

irm https://unpkg.com/gearbox-code@latest/install.ps1 | iex

These installers do not use sudo, admin privileges, or npm install -g. They install Gearbox into a user-owned directory, create the gearbox command, then start onboarding before the coding app opens.

Run without installing:

npx gearbox-code@latest

First Run

Gearbox needs one provider account before it opens the coding app. The installer runs setup automatically. You can also run it yourself:

gearbox onboard

Common setup commands:

gearbox auth add <api-key>                # auto-detects known key prefixes
gearbox auth add <provider> <api-key>     # anthropic, openai, google, deepseek, openrouter, groq, xai, mistral...
gearbox auth add codex                    # ChatGPT subscription through the Codex CLI
gearbox auth add codex work               # second ChatGPT account, isolated CODEX_HOME
gearbox auth add claude work              # second Claude account, isolated config
gearbox auth import                       # import credentials from env/cloud config
gearbox auth providers                    # list supported providers
gearbox auth test <id>                    # live-test a saved account
gearbox auth rm <id>                      # remove an account

After setup:

cd ~/your-project
gearbox

Launch flags: --model <name> pins a model, --continue / -c resumes the latest session, --yolo auto-approves tool use, --inline keeps output in normal terminal scrollback, --fullscreen forces the alt-screen UI. On a light-background terminal, run /theme light inside the app.

Other useful commands:

gearbox doctor models                     # provider/model capability matrix
gearbox upgrade                           # update Gearbox to the latest version

No account configured means no fake/demo model: Gearbox runs onboarding first.

Uninstall

macOS, Linux, WSL:

rm -f ~/.local/bin/gearbox
rm -f ~/.bun/bin/gearbox
rm -rf ~/.local/share/gearbox

Windows PowerShell:

Remove-Item "$env:LOCALAPPDATA\Gearbox" -Recurse -Force

If you previously installed with npm global:

npm uninstall -g gearbox-code

If gearbox fails with Unknown file extension ".tsx", an old Bun-linked shim is still first on PATH. Remove it and reinstall:

rm -f ~/.bun/bin/gearbox
curl -fsSL https://unpkg.com/gearbox-code@latest/install.sh | bash

What It Is

Gearbox is a terminal coding agent that can use the model accounts you already pay for. It supports provider accounts, local credential storage, model routing, session history, file edits, shell commands, MCP tools, web search, image input, and permission gates.

Supported setup paths include API keys, detected env/cloud credentials, Azure, and provider CLIs where available.

Capabilities

Paste or drag an image path into the composer to attach screenshots or UI captures. Local image attachments work with API-backed multimodal models.

Gearbox loads MCP servers from ~/.gearbox/mcp.json, .mcp.json, or .gearbox/mcp.json. Manage them from the command line:

gearbox mcp list                          # show configured MCP servers
gearbox mcp add <name> <cmd> [args...]    # add a server (--global for ~/.gearbox)
gearbox mcp tools                         # list the tools each server exposes
gearbox mcp paths                         # show which config files are read
gearbox mcp remove <name>                 # remove a server

Example MCP config:

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": { "GITHUB_TOKEN": "${GITHUB_TOKEN}" }
    }
  }
}

The built-in web_search tool works out of the box with DuckDuckGo, and uses Brave or SearXNG when BRAVE_SEARCH_API_KEY or SEARXNG_URL is set.

Git is first-class. /commit writes a commit message from your staged diff (review and edit it before anything runs; /commit -a stages everything first). /push streams the push and sets the upstream on a first push. /pr create generates a title and body, pushes if needed, and opens the PR through the gh CLI (/pr list, /pr view <n>, /pr diff <n> to review). /worktree add <branch> + /worktree use <branch> move the whole session into an isolated worktree, and /checkpoint snapshots the entire working tree — untracked files included — with /checkpoint restore <name> to roll back.

Develop

Requires Bun.

bun install
bun run src/cli.tsx
bun test
bun run typecheck