# Claude Code Haha

Claude Code Haha

[![GitHub Stars](https://img.shields.io/github/stars/NanmiCoder/cc-haha?style=social)](https://github.com/NanmiCoder/cc-haha/stargazers) [![GitHub Forks](https://img.shields.io/github/forks/NanmiCoder/cc-haha?style=social)](https://github.com/NanmiCoder/cc-haha/network/members) [![GitHub Issues](https://img.shields.io/github/issues/NanmiCoder/cc-haha)](https://github.com/NanmiCoder/cc-haha/issues) [![GitHub Pull Requests](https://img.shields.io/github/issues-pr/NanmiCoder/cc-haha)](https://github.com/NanmiCoder/cc-haha/pulls) [![License](https://img.shields.io/badge/License-MIT-blue)](https://github.com/NanmiCoder/cc-haha/blob/main/LICENSE) [![English](https://img.shields.io/badge/🇺🇸_English-Current-blue)](README.md) [![中文](https://img.shields.io/badge/🇨🇳_简体中文-Available-green)](README.zh-CN.md) [![Docs](https://img.shields.io/badge/📖_Documentation-Visit-FF7A00)](https://cchaha.ai) **English** · [简体中文](README.zh-CN.md)
Claude Code Haha is a **desktop Claude Code workspace** for macOS, Windows, and Linux: sessions, projects, branch / Worktree launch, workspace changes and diff review, permission approval, model setup, Computer Use, H5 remote access, IM integration, and scheduled tasks in one app.

Desktop Preview · Install · Highlights · More Docs · Sponsorship · User Group

--- ## Desktop Preview

Download Desktop

Empty desktop session before the first task
Start with a clear, empty session
Project and permissions stay visible
Real task running with the Activity panel open
Follow the task as it runs
Tool calls and stage-by-stage progress stay in view
Workspace diff review
See exactly what changed
A focused, full-width syntax-highlighted diff
Built-in browser previewing the page that was just changed
Verify on the spot
The real edited page in the built-in browser
Model picker showing providers, presets, and local endpoints
Choose the exact model
Your providers, presets, and local endpoints in one list
Skill marketplace
Missing a trick? Install it
Source and safety status shown up front
--- ## Sponsorship & Partnership This project is maintained in the author's spare time. Corporate or individual sponsorships are welcome to support ongoing development. Custom features, integrations, and business partnerships are also open for discussion.
Sponsor Description
TeamoRouter Thanks to TeamoRouter for sponsoring this project. TeamoRouter is an enterprise-grade Agentic LLM gateway: run Claude Code, Codex, Gemini CLI, and other popular AI agents through one unified API with no subscription and up to 90% off official pricing. It aggregates hundreds of official model providers (OpenAI, Anthropic, Vertex, Azure, AWS Bedrock) verified for Agent protocol compatibility, with near-official TTFT, a 99.6% SLA, and industry-leading cache hit rates. It also adds centralized billing, team management, BYOK, usage analytics, and one-click Teamo Desktop. New users who register through this link get 10% off their first top-up.
XuanShu API Thanks to XuanShu API for sponsoring this project. XuanShu API is an all-in-one, enterprise-grade AI gateway that gives you access to leading global models through a single unified API, and works out of the box with popular AI coding tools such as Claude Code, Codex, and Gemini CLI. Stability comes first: multi-account pool scheduling and automatic failover smooth out upstream account fluctuations. Model calls are priced as low as 25% of official rates, and balance top-ups get roughly a 20% bonus with no expiry. New users who register through this link receive a $5 credit.
📧 **Contact**: relakkes@gmail.com --- ## Install the Desktop App 1. Download the macOS / Windows / Linux desktop installer from [Releases](https://github.com/NanmiCoder/cc-haha/releases). 2. On first launch, configure your model provider, API key, and default model in Settings. 3. Public macOS releases require signing and notarization. Draft or unsigned temporary builds may still need one-time manual approval. Unsigned Windows installers may show SmartScreen; click "More info" -> "Run anyway". See the [desktop installation guide](docs/en/start/install.md). ## Run the CLI from Source For users who want to debug the underlying CLI, server, or local development flow: ```bash bun install cp .env.example .env ./bin/claude-haha ``` See [environment variables](docs/en/cli/env.md) and [CLI setup](docs/en/cli/index.md) for more configuration options. --- ## Desktop Highlights - **Multi-session workspace**: tabs, project switching, terminal entry, and session history in one place, with a resizable sidebar. - **Branch / Worktree launch**: choose a repository branch and decide whether to use the current working tree or an isolated Worktree. - **Review edits file by file**: the workspace lists this turn's changes; open any file for a syntax-highlighted diff, or undo the whole turn. - **Five permission modes**: from "ask every time" to "skip permissions" — risky commands, tool calls, and follow-up questions are all approved in the GUI. - **Bring your own model**: sign in to Claude, ChatGPT, or Grok; use presets for DeepSeek, Kimi, Zhipu GLM and others; or point it at LM Studio and Ollama running locally. - **Six colour themes**: white, paper, warm classic, celadon, ink night, and ink blue — optionally following your system's light/dark setting. - **Skill marketplace**: discover, preview, and install third-party skills from ClawHub / SkillHub, with source and safety status shown up front. - **Session activity panel**: track task progress, background tasks, SubAgents, and sources in one side panel. - **Computer Use**: let the agent take screenshots, click, type, and control desktop apps after authorization. - **Desktop pets**: Dada, Huhu, Bubu, and Huihui change what they do with the task at hand — or raise one of your own (off by default). - **H5 remote access**: scan a QR code to continue the session in your phone browser; locking the screen won't kill a running task. - **IM integration**: chat, switch projects, and approve actions through Telegram / Feishu / WeChat / DingTalk / WhatsApp. - **Scheduled tasks and usage stats**: run planned tasks in their own sessions and track local token usage trends. --- ## More Documentation Full documentation site: | Section | Documents | |------|------| | **Getting started** | [What this is](docs/en/start/index.md) · [Download and install](docs/en/start/install.md) · [Connect a model provider](docs/en/start/models.md) · [Your first session](docs/en/start/first-session.md) · [Troubleshooting](docs/en/start/troubleshooting.md) | | **Desktop features** | [Feature overview](docs/en/desktop/index.md) · [Computer Use](docs/en/desktop/computer-use.md) · [Desktop pets](docs/en/desktop/pets.md) · [Phone H5 and IM relay](docs/en/desktop/remote.md) | | **IM integrations** | [Overview and pairing](docs/en/im/index.md) · [Feishu](docs/en/im/feishu.md) · [Telegram](docs/en/im/telegram.md) · [WeChat](docs/en/im/wechat.md) · [DingTalk](docs/en/im/dingtalk.md) · [WhatsApp](docs/en/im/whatsapp.md) | | **CLI** | [Install and run](docs/en/cli/index.md) · [Command reference](docs/en/cli/reference.md) · [Environment variables](docs/en/cli/env.md) | | **Internals** | [Desktop architecture](docs/en/internals/desktop.md) · [Multi-agent system](docs/en/internals/agent.md) · [Skills system](docs/en/internals/skills.md) · [Memory system](docs/en/internals/memory.md) · [Computer Use architecture](docs/en/internals/computer-use.md) · [Local server and API](docs/en/internals/server.md) · [Channel system](docs/en/internals/channel.md) · [Project structure](docs/en/internals/structure.md) · [Contributing and quality gates](docs/en/internals/contributing.md) | --- ## ☕ Buy Me a Coffee If this project helps you, consider buying me a coffee — every bit of support keeps this project going ❤️
WeChat Pay
WeChat Pay
Alipay
Alipay
Buy Me a Coffee
Buy Me a Coffee
--- ## User Group Scan the QR code below to join the cc-haha user group on Feishu (Lark) — the conversation there is mostly in Chinese. For questions and bug reports in English, [Issues](https://github.com/NanmiCoder/cc-haha/issues) is the better place.

cc-haha Feishu user group QR code

--- ## Tech Stack | Category | Technology | |------|------| | Language | TypeScript | | Desktop app | Electron | | Desktop UI | React + Vite | | Local runtime | [Bun](https://bun.sh) | | Terminal UI | React + [Ink](https://github.com/vadimdemedes/ink) | | CLI parsing | Commander.js | | API | Anthropic SDK | | Protocols | MCP, LSP | ## Acknowledgements Thanks to the following open-source projects and community practices for reference and inspiration: - [React](https://github.com/facebook/react): frontend engineering and component-based UI ecosystem. - [Electron](https://github.com/electron/electron): cross-platform desktop app capabilities and engineering practices. - [cc-switch](https://github.com/farion1231/cc-switch): reference for model provider configuration. - [LINUX DO](https://linux.do/): a new ideal developer community. --- ## ⭐ Star History If this project helps you, please support it with a ⭐ Star so more people can discover Claude Code Haha. Star History Chart