{"repo":"tanbiralam/claude-code","free":true,"listed":false,"github":"https://github.com/tanbiralam/claude-code","clone":"git clone https://github.com/tanbiralam/claude-code.git","description":"Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands. All original source code is the property of Anthropic.","language":"TypeScript","stars":2160,"topics":["claude-code","claude-code-source-code"],"license":null,"category":"cli-tools","readme_excerpt":"Claude Code — Leaked Source (2026-03-31) 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. --- How It Leaked Chaofan Shou (@Fried rice) discovered the leak and posted it publicly: \"Claude code source code has been leaked via a map file in their npm registry!\" — @Fried rice, March 31, 2026 The source map file in the published npm package contained a reference to the full, unobfuscated TypeScript source, which was downloadable as a zip archive from Anthropic's R2 storage bucket. --- Quick Setup Prerequisites - Bun v1.3+ (the project's runtime) - Node.js v18+ (for npm package installation) - An Anthropic API key (set as ANTHROPIC API KEY environment variable) Install & Run Available Scripts Script Description -------- ------------- bun run start Run Claude Code CLI bun run dev Run with hot-reloading (--watch) bun run build Bundle for production bun run typecheck Run TypeScript type checking Environment Variables Variable Description ---------- ------------- ANTHROPIC API KEY Your Anthropic API key (required to use Claude) FEATURE FLAGS Comma-separated list of feature flags to enable (e.g., KAIROS,VOICE MODE ) Notes - Some modules from the original source were not included in the leak (Anthropic-internal @ant/ packages, some tools). These have been replaced with stubs that export no-ops. - The bun:bundle feature flag system is shimmed via a Bun plugin at plugins/bunBundleDev.ts . All flags default to f","default_branch":null,"files":null,"tree":[],"storefront":"/r/tanbiralam","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tanbiralam/claude-code/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}