๐ Rust ๅ จ้้ๆ็ Claude Code - ๆง่ฝๆๅ 2.5x๏ผไฝ็งฏๅๅฐ 97% | High-performance Rust implementation of Claude Code with 2.5x faster startup and 97% smaller binary
TypeScript
1,664
0 commits
updated May 30, 2026
A desktop client for AI chat assistants, built with Tauri 2.0, Rust, and React. Provides a native-feeling GUI for interacting with Claude and other LLM providers, with local data persistence and a plugin-style architecture for extending functionality.
This is a personal/community desktop application that wraps AI chat APIs in a native window. It is not an official Anthropic product, and it is not a polished commercial release. It is under active development: features change frequently, some things are incomplete, and you should expect rough edges.
The app uses Tauri 2.0's Rust backend to handle file system access, process management, SQLite storage, and HTTP proxying, while the React 19 frontend provides the chat UI, settings panels, and auxiliary views.
| Technology | Purpose |
|---|---|
| React 19 | UI framework |
| TypeScript 5.7 | Type system |
| Vite 6 | Build tooling |
| Tailwind CSS 3 | Utility-first styling |
| Zustand 5 | State management |
| React Router 6 | Client-side routing |
| xterm.js 5 | Terminal emulation |
| KaTeX | Math rendering |
| Mermaid | Diagram rendering |
| recharts | Charting |
| highlight.js / react-syntax-highlighter | Code highlighting |
| react-markdown / remark / rehype | Markdown pipeline |
| Technology | Purpose |
|---|---|
| Tauri 2.0 | Desktop application framework |
| Axum 0.8 | Internal HTTP bridge between frontend and backend |
| Tokio 1 | Async runtime |
| rusqlite 0.31 (bundled) | Local SQLite database |
| reqwest 0.12 | HTTP client for AI API calls |
| Tower HTTP 0.6 | HTTP middleware (CORS) |
| Tracing / OpenTelemetry | Structured logging and telemetry |
| Serde / serde_json | Serialization |
| UUID 1 / Chrono 0.4 | Identifiers and timestamps |
| diffy 0.4 | Text diffing for code review |
| notify 6 | Filesystem watcher |
| enigo 0.2 | Input simulation |
| Prometheus 0.13 | Metrics exposition |
claude-desktop-tauri/
โโโ src/ # React frontend source
โ โโโ components/ # UI components
โ โ โโโ chat/ # Chat interface components
โ โ โโโ swarm/ # Swarm collaboration components
โ โ โโโ ui/ # Shared UI primitives
โ โ โโโ ... # ~80+ component files
โ โโโ features/ # Feature modules
โ โ โโโ chat/ # Chat feature logic
โ โ โโโ streaming/ # SSE stream handling
โ โ โโโ skills/ # Skills integration
โ โ โโโ slash-commands/ # Slash command handling
โ โ โโโ ...
โ โโโ stores/ # Zustand state stores
โ โโโ hooks/ # React custom hooks
โ โโโ services/ # API service layer
โ โโโ types/ # TypeScript type definitions
โ โโโ utils/ # Utility functions
โ โโโ locales/ # i18n localization
โ โโโ assets/ # Static assets
โ โโโ App.tsx # Root application component
โ โโโ main.tsx # Entry point
โโโ src-tauri/ # Rust backend source
โ โโโ src/
โ โ โโโ main.rs # Tauri entry point
โ โ โโโ lib.rs # Library root
โ โ โโโ bridge/ # Axum HTTP API server
โ โ โโโ engine/ # AI engine integration
โ โ โโโ native_engine/ # Native engine logic
โ โ โโโ memory/ # Conversation memory system
โ โ โโโ db/ # SQLite database layer
โ โ โโโ mcp/ # MCP client/server
โ โ โโโ multiagent/ # Multi-agent orchestration
โ โ โโโ orchestration/ # Task orchestration
โ โ โโโ permissions/ # Permission management
โ โ โโโ skills/ # Skills loader
โ โ โโโ tools/ # Tool implementations
โ โ โโโ worktree/ # Git worktree management
โ โ โโโ terminal/ # Terminal backend
โ โ โโโ diff/ # Diff utilities
โ โ โโโ streaming/ # SSE streaming
โ โ โโโ im_integration/ # IM platform integration
โ โ โโโ knowledge/ # Knowledge base
โ โ โโโ research/ # Research engine
โ โ โโโ config/ # Configuration management
โ โ โโโ analytics/ # Usage analytics
โ โ โโโ cost_tracker/ # API cost tracking
โ โ โโโ web_search/ # Web search integration
โ โ โโโ sandbox/ # Code execution sandbox
โ โ โโโ project/ # Project management
โ โ โโโ agent_bus/ # Agent communication bus
โ โ โโโ git/ # Git integration
โ โ โโโ github/ # GitHub integration
โ โ โโโ fs/ # Filesystem operations
โ โ โโโ process/ # Process management
โ โ โโโ notification/ # Desktop notifications
โ โ โโโ updater/ # Auto-update logic
โ โ โโโ watcher/ # File system watcher
โ โ โโโ scheduler/ # Task scheduler
โ โ โโโ computer_use/ # Computer use (input simulation)
โ โ โโโ app_studio/ # App Studio backend
โ โ โโโ remotion/ # Remotion video rendering
โ โ โโโ document/ # Document handling
โ โ โโโ commands/ # Custom commands
โ โ โโโ slash_commands/ # Slash commands backend
โ โ โโโ api/ # External API clients
โ โ โโโ prompt/ # Prompt templates
โ โ โโโ logger/ # Logging infrastructure
โ โ โโโ metrics/ # Metrics collection
โ โ โโโ cache/ # Caching layer
โ โ โโโ clipboard/ # Clipboard operations
โ โ โโโ upload/ # File upload handling
โ โ โโโ prefetch/ # Data prefetching
โ โ โโโ ide/ # IDE integration
โ โ โโโ superpowers/ # Superpowers module
โ โโโ Cargo.toml # Rust dependencies
โ โโโ tauri.conf.json # Tauri configuration
โโโ package.json # Node.js dependencies
โโโ vite.config.ts # Vite configuration
โโโ tailwind.config.js # Tailwind configuration
โโโ tsconfig.json # TypeScript configuration
โโโ postcss.config.js # PostCSS configuration
โโโ vitest.config.ts # Test configuration
โโโ index.html # HTML entry point
โโโ scripts/ # Build and utility scripts
โโโ docs/ # Project documentation
โโโ data/ # Bundled data files
libwebkit2gtk-4.1-dev, libgtk-3-dev, and other system libraries# Clone the repository
git clone <repo-url>
cd claude-desktop-tauri
# Install frontend dependencies
npm install
# Start the development server with hot reload
npx tauri dev
This launches both the Vite dev server (frontend) and the Tauri Rust backend. The frontend hot-reloads on file changes; Rust changes require a rebuild (Tauri handles this automatically on save).
# Build for the current platform
npx tauri build
# Build artifacts are placed in:
# src-tauri/target/release/bundle/
# Frontend tests (Vitest)
npm test
# Frontend tests with coverage
npm run test:coverage
# Rust tests
cd src-tauri && cargo test
This project is under active development. It is not production-ready software and does not have official releases or published installers. Key caveats:
docs/ directoryIf you want to try it, build from source following the instructions above. Expect to encounter bugs and incomplete features.
Contributions are welcome. Here is the process:
git checkout -b feature/your-feature)git commit -m 'feat: add your feature')rustfmt, pass cargo clippy without warningsfeat:, fix:, refactor:, docs:, chore:, test:)Before starting on a large change, consider opening an issue to discuss the approach first.
MIT -- see the LICENSE file for details. (If no LICENSE file exists at the repository root, the project defaults to MIT terms as stated here.)
Built on excellent open-source projects:
933 followers ยท starred Apr 2026
59 followers ยท starred Apr 2026
33 followers ยท starred May 2026
68 followers ยท starred Apr 2026
๐ Rust ๅ จ้้ๆ็ Claude Code - ๆง่ฝๆๅ 2.5x๏ผไฝ็งฏๅๅฐ 97% | High-performance Rust implementation of Claude Code with 2.5x faster startup and 97% smaller binary
TypeScript
1,664
0 commits
updated May 30, 2026
A desktop client for AI chat assistants, built with Tauri 2.0, Rust, and React. Provides a native-feeling GUI for interacting with Claude and other LLM providers, with local data persistence and a plugin-style architecture for extending functionality.
This is a personal/community desktop application that wraps AI chat APIs in a native window. It is not an official Anthropic product, and it is not a polished commercial release. It is under active development: features change frequently, some things are incomplete, and you should expect rough edges.
The app uses Tauri 2.0's Rust backend to handle file system access, process management, SQLite storage, and HTTP proxying, while the React 19 frontend provides the chat UI, settings panels, and auxiliary views.
| Technology | Purpose |
|---|---|
| React 19 | UI framework |
| TypeScript 5.7 | Type system |
| Vite 6 | Build tooling |
| Tailwind CSS 3 | Utility-first styling |
| Zustand 5 | State management |
| React Router 6 | Client-side routing |
| xterm.js 5 | Terminal emulation |
| KaTeX | Math rendering |
| Mermaid | Diagram rendering |
| recharts | Charting |
| highlight.js / react-syntax-highlighter | Code highlighting |
| react-markdown / remark / rehype | Markdown pipeline |
| Technology | Purpose |
|---|---|
| Tauri 2.0 | Desktop application framework |
| Axum 0.8 | Internal HTTP bridge between frontend and backend |
| Tokio 1 | Async runtime |
| rusqlite 0.31 (bundled) | Local SQLite database |
| reqwest 0.12 | HTTP client for AI API calls |
| Tower HTTP 0.6 | HTTP middleware (CORS) |
| Tracing / OpenTelemetry | Structured logging and telemetry |
| Serde / serde_json | Serialization |
| UUID 1 / Chrono 0.4 | Identifiers and timestamps |
| diffy 0.4 | Text diffing for code review |
| notify 6 | Filesystem watcher |
| enigo 0.2 | Input simulation |
| Prometheus 0.13 | Metrics exposition |
claude-desktop-tauri/
โโโ src/ # React frontend source
โ โโโ components/ # UI components
โ โ โโโ chat/ # Chat interface components
โ โ โโโ swarm/ # Swarm collaboration components
โ โ โโโ ui/ # Shared UI primitives
โ โ โโโ ... # ~80+ component files
โ โโโ features/ # Feature modules
โ โ โโโ chat/ # Chat feature logic
โ โ โโโ streaming/ # SSE stream handling
โ โ โโโ skills/ # Skills integration
โ โ โโโ slash-commands/ # Slash command handling
โ โ โโโ ...
โ โโโ stores/ # Zustand state stores
โ โโโ hooks/ # React custom hooks
โ โโโ services/ # API service layer
โ โโโ types/ # TypeScript type definitions
โ โโโ utils/ # Utility functions
โ โโโ locales/ # i18n localization
โ โโโ assets/ # Static assets
โ โโโ App.tsx # Root application component
โ โโโ main.tsx # Entry point
โโโ src-tauri/ # Rust backend source
โ โโโ src/
โ โ โโโ main.rs # Tauri entry point
โ โ โโโ lib.rs # Library root
โ โ โโโ bridge/ # Axum HTTP API server
โ โ โโโ engine/ # AI engine integration
โ โ โโโ native_engine/ # Native engine logic
โ โ โโโ memory/ # Conversation memory system
โ โ โโโ db/ # SQLite database layer
โ โ โโโ mcp/ # MCP client/server
โ โ โโโ multiagent/ # Multi-agent orchestration
โ โ โโโ orchestration/ # Task orchestration
โ โ โโโ permissions/ # Permission management
โ โ โโโ skills/ # Skills loader
โ โ โโโ tools/ # Tool implementations
โ โ โโโ worktree/ # Git worktree management
โ โ โโโ terminal/ # Terminal backend
โ โ โโโ diff/ # Diff utilities
โ โ โโโ streaming/ # SSE streaming
โ โ โโโ im_integration/ # IM platform integration
โ โ โโโ knowledge/ # Knowledge base
โ โ โโโ research/ # Research engine
โ โ โโโ config/ # Configuration management
โ โ โโโ analytics/ # Usage analytics
โ โ โโโ cost_tracker/ # API cost tracking
โ โ โโโ web_search/ # Web search integration
โ โ โโโ sandbox/ # Code execution sandbox
โ โ โโโ project/ # Project management
โ โ โโโ agent_bus/ # Agent communication bus
โ โ โโโ git/ # Git integration
โ โ โโโ github/ # GitHub integration
โ โ โโโ fs/ # Filesystem operations
โ โ โโโ process/ # Process management
โ โ โโโ notification/ # Desktop notifications
โ โ โโโ updater/ # Auto-update logic
โ โ โโโ watcher/ # File system watcher
โ โ โโโ scheduler/ # Task scheduler
โ โ โโโ computer_use/ # Computer use (input simulation)
โ โ โโโ app_studio/ # App Studio backend
โ โ โโโ remotion/ # Remotion video rendering
โ โ โโโ document/ # Document handling
โ โ โโโ commands/ # Custom commands
โ โ โโโ slash_commands/ # Slash commands backend
โ โ โโโ api/ # External API clients
โ โ โโโ prompt/ # Prompt templates
โ โ โโโ logger/ # Logging infrastructure
โ โ โโโ metrics/ # Metrics collection
โ โ โโโ cache/ # Caching layer
โ โ โโโ clipboard/ # Clipboard operations
โ โ โโโ upload/ # File upload handling
โ โ โโโ prefetch/ # Data prefetching
โ โ โโโ ide/ # IDE integration
โ โ โโโ superpowers/ # Superpowers module
โ โโโ Cargo.toml # Rust dependencies
โ โโโ tauri.conf.json # Tauri configuration
โโโ package.json # Node.js dependencies
โโโ vite.config.ts # Vite configuration
โโโ tailwind.config.js # Tailwind configuration
โโโ tsconfig.json # TypeScript configuration
โโโ postcss.config.js # PostCSS configuration
โโโ vitest.config.ts # Test configuration
โโโ index.html # HTML entry point
โโโ scripts/ # Build and utility scripts
โโโ docs/ # Project documentation
โโโ data/ # Bundled data files
libwebkit2gtk-4.1-dev, libgtk-3-dev, and other system libraries# Clone the repository
git clone <repo-url>
cd claude-desktop-tauri
# Install frontend dependencies
npm install
# Start the development server with hot reload
npx tauri dev
This launches both the Vite dev server (frontend) and the Tauri Rust backend. The frontend hot-reloads on file changes; Rust changes require a rebuild (Tauri handles this automatically on save).
# Build for the current platform
npx tauri build
# Build artifacts are placed in:
# src-tauri/target/release/bundle/
# Frontend tests (Vitest)
npm test
# Frontend tests with coverage
npm run test:coverage
# Rust tests
cd src-tauri && cargo test
This project is under active development. It is not production-ready software and does not have official releases or published installers. Key caveats:
docs/ directoryIf you want to try it, build from source following the instructions above. Expect to encounter bugs and incomplete features.
Contributions are welcome. Here is the process:
git checkout -b feature/your-feature)git commit -m 'feat: add your feature')rustfmt, pass cargo clippy without warningsfeat:, fix:, refactor:, docs:, chore:, test:)Before starting on a large change, consider opening an issue to discuss the approach first.
MIT -- see the LICENSE file for details. (If no LICENSE file exists at the repository root, the project defaults to MIT terms as stated here.)
Built on excellent open-source projects:
933 followers ยท starred Apr 2026
59 followers ยท starred Apr 2026
33 followers ยท starred May 2026
68 followers ยท starred Apr 2026