Open-ClaudeCode  by LING71671

Open-source Claude Code CLI for AI-assisted development

Created 5 days ago

New!

569 stars

Top 56.6% on SourcePulse

GitHubView on GitHub
Project Summary

Summary: Open-ClaudeCode reconstructs Anthropic's Claude Code AI programming assistant from official npm package source maps. It provides a runnable command-line interface and the recovered TypeScript source code, targeting developers and researchers interested in studying the architecture of advanced AI coding tools. The project facilitates learning and analysis of Claude Code's internal workings.

How It Works: This project reconstructs Claude Code by recovering its TypeScript source files and compiled CLI from the source maps of Anthropic's official npm package. It includes over 1,900 recovered source files, a functional CLI, 13 official plugins, and example configurations, enabling in-depth study of the AI assistant's internal tools, commands, and services.

Quick Start & Requirements:

  • Prerequisites: Node.js 18+ and an API key (Anthropic, third-party proxy, or Claude subscription) are required.
  • Installation: Clone the repository (git clone https://github.com/LING71671/Open-ClaudeCode.git) and navigate into the directory (cd Open-ClaudeCode).
  • Execution: Run the CLI using node package/cli.js.
  • Authentication: Configure API keys/base URLs via settings.json, environment variables, or OAuth login (requires subscription and VPN).
  • Documentation: The README provides detailed setup, authentication, and usage instructions.

Highlighted Details:

  • Recovered Source Code: Offers 1,902 TypeScript source files for studying Claude Code's architecture.
  • Runnable CLI: Includes a compiled, executable CLI (v2.1.88) for direct use.
  • Official Plugins: Integrates 13 official Anthropic plugins, such as code-review and commit-commands.
  • Flexible Configuration: Supports various authentication methods, model selection (Haiku, Sonnet, Opus), and permission modes.
  • Protocol Bridging: Facilitates integration with OpenAI SDKs via external bridging tools.

Maintenance & Community: The project was last updated on April 1, 2026. No specific details regarding active contributors, sponsorships, or dedicated community channels are provided in the README.

Licensing & Compatibility: The source code is copyrighted by Anthropic PBC and provided strictly for learning and research purposes, not representing Anthropic's official stance. Commercial use or closed-source linking is likely restricted due to its derivation from proprietary code and intended use. Refer to LICENSE and ACKNOWLEDGEMENTS.md.

Limitations & Caveats: The primary limitation is that the source code was reconstructed from source maps, not officially released. This recovery process may introduce inaccuracies or omissions. The project is explicitly for "learning and research use only," suggesting it is unsuitable for production environments or applications requiring guaranteed stability and completeness.

Health Check
Last Commit

3 days ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
7
Star History
593 stars in the last 5 days

Explore Similar Projects

Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Cofounder of Luma AI), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

avante.nvim by yetone

0.3%
18k
Neovim plugin emulating Cursor AI IDE for AI-driven code assistance
Created 1 year ago
Updated 6 days ago
Feedback? Help us improve.