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

@jayjiang/open-cc

v0.4.0

Published

Open CC — AI coding assistant CLI in the terminal

Readme

Open CC

An AI coding assistant CLI tool for the terminal, with multi-provider LLM support (50+ providers including Anthropic, OpenAI, GitHub Copilot, Google Vertex AI, DeepSeek, and more).

Install

npm install -g @jayjiang/open-cc

Or with Bun:

bun install -g @jayjiang/open-cc

Setup

Option 1: Interactive /connect (Recommended)

Launch Open CC and use the /connect command to pick a provider and authenticate:

opencc
# Then type: /connect

Supports 50+ providers dynamically loaded from models.dev, including:

Popular: Anthropic, GitHub Copilot, OpenAI, Google, OpenRouter, Kimi, Zhipu AI, MiniMax

International: Mistral, Groq, xAI, Cohere, Perplexity, Together AI, Fireworks, DeepInfra, Cerebras

China: DeepSeek, Qwen, Moonshot, Doubao, Baichuan, Hunyuan, ERNIE, SenseTime, and more

Google Vertex AI

Vertex AI uses Google Cloud Application Default Credentials (ADC). The /connect flow guides you through:

  1. Checks that gcloud CLI is installed
  2. Prompts for GCP project ID and region
  3. Verifies ADC credentials (runs gcloud auth application-default login if needed)
  4. Available models: Gemini 3.1 Pro, 3.1 Flash Lite, 3 Flash, 2.5 Flash, 2.5 Pro
# Pre-requisite: install gcloud CLI and authenticate
gcloud auth application-default login

# Then in Open CC:
/connect  # Select "Google Vertex AI"

Option 2: Environment Variable

Set your API key for any provider:

# Anthropic (default)
export ANTHROPIC_API_KEY="sk-ant-..."

# OpenAI
export OPENAI_API_KEY="sk-..."

# DeepSeek
export DEEPSEEK_API_KEY="sk-..."

# GitHub Copilot (use gh CLI token)
# Authenticate via /connect in the app

# See presets.ts for all supported env var names

Option 3: Settings File

Edit ~/.open-cc/settings.json:

{
  "connectedProvider": "openai",
  "model": "gpt-4o",
  "providers": {
    "openai": {
      "auth": { "type": "api-key", "key": "sk-..." }
    }
  }
}

Usage

# Interactive REPL
opencc

# Pipe mode (non-interactive)
echo "explain this error" | opencc -p

# Resume last session
opencc --resume

Provider Commands

# Inside the REPL:
/connect          # Switch provider (search, Popular/Other groups)
/model            # Switch model for current provider

Features

  • Interactive REPL terminal UI (React + Ink)
  • 50+ LLM providers via OpenAI-compatible adapter + models.dev catalog
  • /connect command with search, Popular/Other grouping, OAuth support
  • GitHub Copilot OAuth device code flow
  • Google Vertex AI with Application Default Credentials (ADC)
  • Streaming conversations with tool calls
  • File read, write, edit, and search tools
  • Shell command execution with sandbox support
  • Sub-agent dispatching
  • MCP Server integration
  • Session resume and compaction
  • Permission management system
  • Hook system for automation
  • Skills / slash commands

Configuration

Global config lives at ~/.open-cc/:

| Path | Purpose | |------|---------| | settings.json | Global settings (provider, model, auth, etc.) | | sessions/ | Session history | | memory/ | Persistent memory files | | cache/models.json | Cached models.dev provider catalog |

Project-level config: place a CLAUDE.md in your project root.

Development

Prerequisites

Commands

bun install            # Install dependencies
bun run dev            # Dev mode (direct execution)
bun run build          # Build to dist/
bun run lint           # Lint (Biome)
bun run lint:fix       # Auto-fix lint issues
bun run format         # Format source
bun test               # Run tests
bun run health         # Health check (lint + tests + build)

Adding a New Provider

See the integration guides for pitfalls and checklists:

Tech Stack

  • Runtime: Bun
  • UI: React + Ink (terminal rendering)
  • CLI: Commander.js
  • API: Multi-provider (Anthropic SDK + OpenAI-compatible adapter)
  • Provider Catalog: models.dev (50+ providers, auto-refreshed)
  • Build: Bun.build() with code splitting

License

Proprietary - See LICENSE