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

@quantum-ai/cc-haha

v1.0.23

Published

Claude Code opened to any LLM (OpenAI, Gemini, DeepSeek, Ollama, etc.)

Downloads

3,358

Readme

Claude Code Haha

Use Claude Code with any LLM — not just Claude.

OpenClaude is a fork of the Claude Code source leak (exposed via npm source maps on March 31, 2026). We added an OpenAI-compatible provider shim so you can plug in GPT-4o, DeepSeek, Gemini, Llama, Mistral, or any model that speaks the OpenAI chat completions API. It now also supports the ChatGPT Codex backend for codexplan and codexspark.

All of Claude Code's tools work — bash, file read/write/edit, grep, glob, agents, tasks, MCP — just powered by whatever model you choose.

Installation

You can install OpenClaude globally via npm:

npm install -g @quantum-ai/cc-haha

Once installed, the cc-haha command will be available.

Alternatively, you can use npx without global installation:

npx cc-haha

Quick Start (OpenAI-Compatible Mode)

To use OpenClaude with an OpenAI-compatible provider (such as OpenAI, DeepSeek, or a local model), set the following environment variables:

# Enable OpenAI compatibility mode
set CLAUDE_CODE_USE_OPENAI=1

# Your API key (or token)
set OPENAI_API_KEY=YourTokenHere

# Base URL for the OpenAI-compatible API endpoint
set OPENAI_BASE_URL=https://api.deepseek.com/v1

# Model name to use
set OPENAI_MODEL=deepseek-chat

Then run OpenClaude with a prompt:

npx cc-haha "Hello"

This will send "Hello" to the configured model and display the response.

Interactive Modes

OpenClaude offers several interactive modes:

Text-based User Interface (TUI)

Launch the interactive TUI interface:

npx cc-haha --tui

Combine with YOLO mode to skip initial prompts and enter TUI immediately:

npx cc-haha --dangerously-skip-permissions --tui

YOLO Mode

YOLO mode (--dangerously-skip-permissions or --approval-mode yolo) automatically approves all actions without prompting. This is useful for automation or when you fully trust the model's decisions.

Example usage:

# YOLO mode with a prompt
npx cc-haha "Hello" --dangerously-skip-permissions

# YOLO mode with TUI (skips startup questions)
npx cc-haha --dangerously-skip-permissions --tui

Warning: YOLO mode bypasses security checks. Use with caution.

From Source

If you want to run from source (requires Bun):

git clone <repository>
cd <repository>
bun run build
node dist/index.mjs