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

cc-x10ded

v3.0.18

Published

Extend Claude Code with custom OpenAI-compatible model providers

Readme

Claude-GLM Wrapper (ccx)

Community Fork of claude-glm-wrapper, rewritten in Bun for speed and simplicity.

Use Z.AI GLM, Minimax, OpenAI, Gemini, and more with Claude Code.

Quick Start

Installation (Recommended)

# Install globally (fast startup, no resolution overhead)
bun install -g cc-x10ded@latest

# Run setup wizard
ccx setup

Alternative: One-liner with bunx

bunx cc-x10ded setup

Usage

Commands

| Command | Description | |---------|-------------| | ccx | Run Claude Code with default model (GLM-4.7) | | ccx setup | Interactive setup wizard | | ccx update | Update ccx and migrate aliases | | ccx doctor | Diagnose configuration issues | | ccx config | Open configuration file |

Model Aliases

After setup, use these shortcuts:

| Alias | Model | |-------|-------| | ccg | GLM-4.7 (default) | | ccg46 | GLM-4.6 | | ccg45 | GLM-4.5 | | ccf | GLM-4.5-air (fast) | | ccm | MiniMax-M2.1 |

Multi-Provider Support

Specify any provider with a prefix:

ccx --model=openai:gpt-4o
ccx --model=gemini:gemini-2.0-flash
ccx --model=minimax:MiniMax-M2.1
ccx --model=glm-4.7           # No prefix needed for GLM

Or switch in-session: /model openai:gpt-4o

Configuration

Config is stored in ~/.config/claude-glm/config.json:

{
  "zaiApiKey": "your-zai-key",
  "minimaxApiKey": "your-minimax-key",
  "providers": {
    "openai": { "apiKey": "sk-..." },
    "gemini": { "apiKey": "..." }
  },
  "defaults": {
    "model": "glm-4.7"
  }
}

Environment Variables (Auto-Discovery)

ccx automatically detects these environment variables:

  • ZAI_API_KEY / GLM_API_KEY
  • MINIMAX_API_KEY
  • OPENAI_API_KEY
  • GEMINI_API_KEY
  • ANTHROPIC_API_KEY
  • OPENROUTER_API_KEY

Updating

ccx update

This will:

  1. Install the latest version globally
  2. Migrate old bunx-based aliases to new format (if needed)

Migrating from Old Versions

If upgrading from v3.0.14 or earlier (bunx-based aliases):

# Update and migrate aliases automatically
ccx update

# Or manually reinstall
bun install -g cc-x10ded@latest
ccx setup

If upgrading from pre-3.0 (claude-glm-wrapper):

# Remove old installation
npm uninstall -g claude-glm-wrapper
rm -rf ~/.claude-proxy/

# Install new version
bun install -g cc-x10ded@latest
ccx setup

Troubleshooting

"ccx: command not found"

Ensure bun's bin directory is in your PATH:

export PATH="$HOME/.bun/bin:$PATH"

Then reinstall: bun install -g cc-x10ded@latest

"Error: 'claude' command not found"

Run ccx doctor to check your Claude Code installation.

Aliases not working after update

Run ccx update to migrate aliases, then:

source ~/.zshrc  # or restart your terminal

Why ccx?

  • Fast startup: Global binary, no bunx resolution overhead
  • Multi-provider: GLM, Minimax, OpenAI, Gemini, Anthropic, OpenRouter
  • Self-healing: ccx doctor diagnoses and fixes issues
  • Zero config: Auto-discovers API keys from environment

License

MIT