winfunc/opcode

★ 22,408⑂ 1,720

A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.

About winfunc/opcode

winfunc/opcode is an open-source project on GitHub, mainly written in TypeScript. A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more. It currently holds 22,408 stars and 1,720 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Coding Agents board.

GitHub Repository Details

Repository winfunc/opcode · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

https://github.com/winfunc/opcode/blob/HEAD/opcode Logo

opcode

A powerful GUI app and Toolkit for Claude Code

Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.

https://github.com/winfunc/opcode/blob/HEAD/Features https://github.com/winfunc/opcode/blob/HEAD/Installation https://github.com/winfunc/opcode/blob/HEAD/Usage https://github.com/winfunc/opcode/blob/HEAD/Development https://github.com/winfunc/opcode/blob/HEAD/Discord

https://github.com/user-attachments/assets/6bceea0f-60b6-4c3e-a745-b891de00b8d0

[!TIP]
⭐ Star the repo and follow @getAsterisk on X for early access to asteria-swe-v0.
[!NOTE]
This project is not affiliated with, endorsed by, or sponsored by Anthropic. Claude is a trademark of Anthropic, PBC. This is an independent developer project using Claude.

🌟 Overview

opcode is a powerful desktop application that transforms how you interact with Claude Code. Built with Tauri 2, it provides a beautiful GUI for managing your Claude Code sessions, creating custom agents, tracking usage, and much more.

Think of opcode as your command center for Claude Code - bridging the gap between the command-line tool and a visual experience that makes AI-assisted development more intuitive and productive.

📋 Table of Contents

✨ Features

🗂️ Project & Session Management

🤖 CC Agents

📊 Usage Analytics Dashboard

🔌 MCP Server Management

Timeline & Checkpoints

📝 CLAUDE.md Management

📖 Usage

Getting Started

1. Launch opcode: Open the application after installation 2. Welcome Screen: Choose between CC Agents or Projects 3. First Time Setup: opcode will automatically detect your ~/.claude directory

Managing Projects

Projects → Select Project → View Sessions → Resume or Start New

Creating Agents

CC Agents → Create Agent → Configure → Execute

1. Design Your Agent: Set name, icon, and system prompt 2. Configure Model: Choose between available Claude models 3. Set Permissions: Configure file read/write and network access 4. Execute Tasks: Run your agent on any project

Tracking Usage

Menu → Usage Dashboard → View Analytics

Working with MCP Servers

Menu → MCP Manager → Add Server → Configure

🚀 Installation

Prerequisites

Release Executables Will Be Published Soon

🔨 Build from Source

Prerequisites

Before building opcode from source, ensure you have the following installed:

System Requirements

Required Tools

1. Rust (1.70.0 or later)

   # Install via rustup
   curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
   

2. Bun (latest version)

   # Install bun
   curl -fsSL https://bun.sh/install | bash
   

3. Git

   # Usually pre-installed, but if not:
   # Ubuntu/Debian: sudo apt install git
   # macOS: brew install git
   # Windows: Download from https://git-scm.com
   

4. Claude Code CLI

Platform-Specific Dependencies

Linux (Ubuntu/Debian)

# Install system dependencies
sudo apt update
sudo apt install -y \
  libwebkit2gtk-4.1-dev \
  libgtk-3-dev \
  libayatana-appindicator3-dev \
  librsvg2-dev \
  patchelf \
  build-essential \
  curl \
  wget \
  file \
  libssl-dev \
  libxdo-dev \
  libsoup-3.0-dev \
  libjavascriptcoregtk-4.1-dev

macOS

# Install Xcode Command Line Tools
xcode-select --install

Install additional dependencies via Homebrew (optional)

brew install pkg-config

Windows

Build Steps

1. Clone the Repository

   git clone https://github.com/getAsterisk/opcode.git
   cd opcode
   

2. Install Frontend Dependencies

   bun install
   

3. Build the Application For Development (with hot reload)

   bun run tauri dev
   
For Production Build
   # Build the application
   bun run tauri build
   
   # The built executable will be in:
   # - Linux: src-tauri/target/release/
   # - macOS: src-tauri/target/release/
   # - Windows: src-tauri/target/release/
   

4. Platform-Specific Build Options Debug Build (faster compilation, larger binary)

   bun run tauri build --debug
   
Universal Binary for macOS (Intel + Apple Silicon)
   bun run tauri build --target universal-apple-darwin
   

Troubleshooting

Common Issues

1. "cargo not found" error

2. Linux: "webkit2gtk not found" error 3. Windows: "MSVC not found" error 4. "claude command not found" error 5. Build fails with "out of memory"

Verify Your Build

After building, you can verify the application works:

# Run the built executable directly

Linux/macOS

./src-tauri/target/release/opcode

Windows

./src-tauri/target/release/opcode.exe

Build Artifacts

The build process creates several artifacts:

All artifacts are located in src-tauri/target/release/.

🛠️ Development

Tech Stack

Project Structure

opcode/
├── src/                   # React frontend
│   ├── components/        # UI components
│   ├── lib/               # API client & utilities
│   └── assets/            # Static assets
├── src-tauri/             # Rust backend
│   ├── src/
│   │   ├── commands/      # Tauri command handlers
│   │   ├── checkpoint/    # Timeline management
│   │   └── process/       # Process management
│   └── tests/             # Rust test suite
└── public/                # Public assets

Development Commands

# Start development server
bun run tauri dev

Run frontend only

bun run dev

Type checking

bunx tsc --noEmit

Run Rust tests

cd src-tauri && cargo test

Format code

cd src-tauri && cargo fmt

🔒 Security

opcode prioritizes your privacy and security:

1. Process Isolation: Agents run in separate processes 2. Permission Control: Configure file and network access per agent 3. Local Storage: All data stays on your machine 4. No Telemetry: No data collection or tracking 5. Open Source: Full transparency through open source code

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Areas for Contribution

📄 License

This project is licensed under the AGPL License - see the LICENSE file for details.

🙏 Acknowledgments

---

Made with ❤️ by the Asterisk

Report Bug · Request Feature

Star History

Star History Chart

GitHub Stars & Activity

22,408Stars
1,720Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars22,408
Forks1,720
Open issues0
Primary languageTypeScript
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

thedotmack / claude-mem

TypeScript★ 94,310⑂ 8,324
2

Egonex-AI / Understand-Anything

TypeScript★ 83,393⑂ 7,038
3

stablyai / orca

TypeScript★ 73,154⑂ 4,785
4

ruvnet / ruflo

TypeScript★ 72,894⑂ 8,655
5

diegosouzapw / OmniRoute

TypeScript★ 68,420⑂ 9,682
6

CherryHQ / cherry-studio

TypeScript★ 52,015⑂ 4,981
7

chatboxai / chatbox

TypeScript★ 41,812⑂ 4,252
8

Yeachan-Heo / oh-my-claudecode

TypeScript★ 39,267⑂ 3,512

More AI Rankings