Discover and explore top open-source AI tools and projects—updated daily.
Housetan218Local Claude Code execution environment with TUI and scripting
New!
Top 98.5% on SourcePulse
Summary
This project offers a locally runnable version of the leaked Claude Code source, addressing critical startup issues that prevented the original code from functioning. It enables developers and power users to run an interactive AI coding assistant locally, supporting various Anthropic-compatible APIs like MiniMax and OpenRouter, thereby providing a self-hosted alternative for code assistance and development tasks.
How It Works
The project is a fork of leaked Claude Code, meticulously patched to enable a full Ink TUI (Terminal User Interface) and headless execution. It leverages Bun as the runtime, TypeScript for development, and React/Ink for its terminal-based UI. The architecture supports a multi-agent system, tool integration (Bash, Edit, Grep), skills, MCP servers, and custom API endpoints, offering a flexible framework for AI-driven coding workflows.
Quick Start & Requirements
npm install..env.example to .env and fill in API authentication (e.g., ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN) and optionally ANTHROPIC_BASE_URL for custom endpoints. Model mappings and timeouts can also be configured../bin/claude-haha. Use ./bin/claude-haha -p "your prompt here" for headless mode or pipe input via echo "prompt" | ./bin/claude-haha -p.CLAUDE_CODE_FORCE_RECOVERY_CLI=1 ./bin/claude-haha.Highlighted Details
--print) for scripting and CI scenarios.Maintenance & Community
This project is based on source code leaked from Anthropic's npm registry on March 31, 2026. No information regarding active maintenance, contributors, or community channels (like Discord/Slack) is provided.
Licensing & Compatibility
The project explicitly states it is based on leaked Anthropic source code, with all original source code copyright belonging to Anthropic. It is provided strictly for learning and research purposes, implying significant restrictions on commercial use or integration into closed-source projects.
Limitations & Caveats
The project is derived from leaked source code and is intended for learning/research, carrying potential legal and ethical ambiguities. It addresses previously unresolvable startup issues, but its stability and feature completeness compared to official Anthropic products are not guaranteed. The lack of explicit maintenance and community support may pose long-term adoption risks.
3 weeks ago
Inactive