gitmyhub

cc-haha

TypeScript ★ 13k updated 1d ago

Claude Code 泄露源码 - 本地可运行版本,新增跨平台桌面端软件补齐Computer Use(附带核心模块解析)

A desktop GUI for Claude Code that adds tabbed chat sessions, visual code diffs, permission controls, and support for multiple AI providers so developers can avoid working entirely in a terminal.

TypeScriptTauri 2ReactViteBunsetup: moderatecomplexity 3/5

Claude Code Haha is a desktop application that wraps Claude Code (Anthropic's AI coding assistant command-line tool) in a graphical interface for macOS and Windows. The project originated from a leaked copy of the Claude Code source code and has since evolved into a feature-rich workbench aimed at developers who prefer not to work entirely in a terminal.

The app collects several workflows into one window. You can manage multiple chat sessions as tabs, switch between different projects, view code changes on the right side of the screen while chatting, and inspect AI-generated edits as a diff before accepting them. There is a permission review panel where you can approve or reject tool calls and potentially dangerous commands that the AI wants to run.

Beyond the basics, the app supports connecting to multiple AI providers, not just Anthropic. You can configure third-party models such as those from OpenAI, DeepSeek, or locally-hosted models through a compatible API. There is also a Computer Use mode where the AI can take screenshots, move the mouse, and type on your keyboard to control desktop applications directly.

For remote access, the app can generate a one-time token that lets you connect to your current desktop session from a phone or another device through a browser. It also supports receiving commands and approving requests through messaging apps including Telegram, and Chinese platforms like Feishu, WeChat, and DingTalk.

The tech stack uses Tauri 2 for the desktop shell, React and Vite for the UI, and Bun as the local runtime. The CLI portion can also be launched from the command line for users who want to modify or debug the underlying code.

Where it fits