Skip to content

prathamdby/1code

 
 

Repository files navigation

1Code

1Code.dev

Best UI for Claude Code with local and remote agent execution.

By 21st.dev team

Platforms: macOS, Linux, and Windows. Windows support improved thanks to community contributions from @jesus-mgtc and @evgyur.

1Code vs Claude Code

Feature 1Code Claude Code
Visual UI ✅ Cursor-like desktop app
Git Worktree Isolation ✅ Each chat runs in isolated worktree
Background Execution ✅ Run multiple agents in parallel
Built-in Git Client ✅ Visual staging, commits, branches ❌ CLI git commands only
Integrated Terminal
Plan Mode
MCP Support
Memory (CLAUDE.md)
Skills & Slash Commands
Custom Subagents
Subscription & API Key Support
Custom Models & Providers (BYOK)
Checkpointing 🚧 Beta
Tool Approve 📋 Backlog
Hooks

Features

Run Claude agents the right way

Run agents locally, in worktrees, in background — without touching main branch.

Worktree Demo

  • Git Worktree Isolation - Each chat session runs in its own isolated worktree
  • Background Execution - Run agents in background while you continue working
  • Local-first - All code stays on your machine, no cloud sync required
  • Branch Safety - Never accidentally commit to main branch

UI that finally respects your code

Cursor-like UI for Claude Code with diff previews, built-in git client, and the ability to see changes before they land.

Cursor UI Demo

  • Diff Previews - See exactly what changes Claude is making in real-time
  • Built-in Git Client - Stage, commit, and manage branches without leaving the app
  • Change Tracking - Visual diffs and PR management
  • Real-time Tool Execution - See bash commands, file edits, and web searches as they happen

Plan mode that actually helps you think

Claude asks clarifying questions, builds structured plans, and shows clean markdown preview — all before execution.

Plan Mode Demo

  • Clarifying Questions - Claude asks what it needs to know before starting
  • Structured Plans - See step-by-step breakdown of what will happen
  • Clean Markdown Preview - Review plans in readable format
  • Review Before Execution - Approve or modify the plan before Claude acts

More Features

  • Plan & Agent Modes - Read-only analysis or full code execution permissions
  • Project Management - Link local folders with automatic Git remote detection
  • Integrated Terminal - Full terminal access within the app

Installation

Prerequisites

  • Bun - JavaScript runtime
  • Python - Required for Claude Code
  • Xcode Command Line Tools (macOS only)
  • Claude CLI - System claude binary must be installed and available in PATH

Option 1: Build from source (free)

bun install
bun run build
bun run package:mac  # or package:win, package:linux

Important: Ensure the claude CLI binary is installed system-wide and available in your PATH. The app will use the system claude binary instead of bundling its own.

Option 2: Subscribe to 1code.dev (recommended)

Get pre-built releases + background agents support by subscribing at 1code.dev.

Your subscription helps us maintain and improve 1Code.

Development

bun install
bun run dev

Note: Make sure the claude CLI binary is installed system-wide and available in your PATH.

Feedback & Community

Join our Discord for support and discussions.

License

Apache License 2.0 - see LICENSE for details.

About

Best UI for Claude Code

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.7%
  • Other 1.3%