fazxes/Claude-code
218 stars · Last commit 2026-04-03
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster through natural language commands. Rebuilt from leaked source.
README preview
# Claude Code — Rebuilt from Leaked Source > **Disclaimer:** This repository contains proprietary source code belonging to Anthropic that was unintentionally exposed via a source map file (`.js.map`) included in the official `@anthropic-ai/claude-code` npm package. This repository is provided strictly for **educational and research purposes** — to study the architecture, design patterns, and engineering of a production-grade AI coding agent. This project is not affiliated with, endorsed by, or authorized by Anthropic. If you are a representative of Anthropic and wish to have this repository removed, please open an issue or contact the repository owner. **Use at your own risk.** The authors assume no liability for any use or misuse of this code. --- On March 31, 2026, the full source code of Anthropic's Claude Code CLI was leaked via a `.map` file exposed in their npm registry. This repo contains that source rebuilt into a runnable CLI. ## Quick Start **Prerequisites:** [Bun](https://bun.sh) v1.1+ ```bash git clone https://github.com/fazxes/claude-code.git cd claude-code bun install bun run build bun dist/cli.js ```