2025-12-21 22:59:06 +02:00
# <picture><source media="(prefers-color-scheme: dark)" srcset="docs/references/badges/openchamber-logo-dark.svg"><img src="docs/references/badges/openchamber-logo-light.svg" width="32" height="32" align="absmiddle" /></picture> OpenChamber
2025-12-07 19:32:53 +02:00
2025-12-21 17:48:15 +02:00
[](https://github.com/btriapitsyn/openchamber/stargazers)
[](https://github.com/btriapitsyn/openchamber/network/members)
[](https://github.com/btriapitsyn/openchamber/releases/latest)
2025-12-21 17:38:26 +02:00
[](https://opencode.ai)
2025-12-29 23:58:33 +02:00
[](https://zread.ai/btriapitsyn/openchamber)
2026-01-15 00:24:33 +02:00
[](https://discord.gg/ZYRSdnwwKA)
[](https://ko-fi.com/G2G41SAWNS)
2025-12-17 14:10:23 +02:00
2025-12-07 19:32:53 +02:00
Web and desktop interface for the [OpenCode ](https://opencode.ai ) AI coding agent. Works alongside the OpenCode TUI.
The OpenCode team is actively working on their own desktop app. I still decided to release this project as a fan-made alternative.
It was entirely built with OpenCode tool - first with the TUI version, then with the first usable version of OpenChamber, which I then used to build the rest.
The whole project was built entirely with AI coding agents under my supervision. It started as a hobby project and proof of concept that AI agents can create genuinely usable software.
2025-12-08 12:09:17 +02:00

<details>
<summary>More screenshots</summary>



2025-12-14 02:29:46 +02:00

2025-12-21 02:34:07 +02:00

2025-12-21 17:00:40 +02:00
2025-12-08 12:09:17 +02:00
<p>
<img src="docs/references/pwa_chat_example.png" width="45%" alt="PWA Chat">
<img src="docs/references/pwa_terminal_example.png" width="45%" alt="PWA Terminal">
</p>
</details>
2025-12-07 19:32:53 +02:00
## Why use OpenChamber?
- **Cross-device continuity**: Start in TUI, continue on tablet/phone, return to terminal - same session
- **Remote access**: Use OpenCode from anywhere via browser
- **Familiarity**: A visual alternative for developers who prefer GUI workflows
## Features
2026-02-17 19:36:19 +02:00
### Core (all app versions)
- Branchable chat timeline with `/undo` , `/redo` , and one-click forks from earlier turns
- Smart tool UIs for diffs, file operations, permissions, and long-running task progress
- Voice mode with speech input and read-aloud responses for hands-free workflows
- Multi-agent runs from one prompt with isolated worktrees for safe side-by-side comparisons
- Git workflows in-app: identities, commits, PR creation, checks, and merge actions
- GitHub-native workflows: start sessions from issues and pull requests with context already attached
- Plan/Build mode with a dedicated plan view for drafting and iterating implementation steps
- Inline comment drafts on diffs, files, and plans that can be sent back to the agent
- Context visibility tools (token/cost breakdowns, raw message inspection, and activity summaries)
- Integrated terminal with per-directory sessions and stable performance on heavy output
- Built-in skills catalog and local skill management for reusable automation workflows
2025-12-21 03:03:26 +02:00
### Web / PWA
2026-02-17 19:36:19 +02:00
- Cloudflare Quick Tunnel for instant remote access (`--try-cf-tunnel` )
- One-scan onboarding with tunnel QR + password URL helpers
- Mobile-first experience: optimized chat controls, keyboard-safe layouts, and attachment-friendly UI
- Background notifications plus reliable cross-tab session activity tracking
- Built-in self-update + restart flow that keeps your server settings intact
2025-12-21 03:03:26 +02:00
### Desktop (macOS)
2026-02-17 19:36:19 +02:00
- Native macOS menu integration with polished app actions and deep-link handling
- Multi-window support for parallel project/session workflows
- "Open In" shortcuts for Finder, Terminal, and your preferred editor
- Fast switching between local and remote instances
- Workspace-first startup flow with directory picker and steadier window restore behavior
2025-12-21 03:03:26 +02:00
### VS Code Extension
2026-02-17 19:36:19 +02:00
- Editor-native workflow: open files directly from tool output and keep sessions beside your code
- Agent Manager for parallel multi-model runs from a single prompt
- Right-click actions to add context, explain selections, and improve code in-place
- In-extension settings, responsive layout, and theme mapping that matches your editor
- Hardened runtime lifecycle and health checks for faster startup and fewer stuck reconnect states
2025-12-07 19:32:53 +02:00
2026-02-01 18:29:34 +02:00
### Custom Themes
Create your own color schemes by dropping JSON files into `~/.config/openchamber/themes/` . Hot reload supported — no restart needed.
[**Read the Guide: Custom Themes** ](docs/CUSTOM_THEMES.md )
2025-12-07 19:32:53 +02:00
## Installation
2025-12-13 16:34:17 +02:00
### VS Code Extension
2025-12-26 16:45:30 +02:00
Install from [VS Code Marketplace ](https://marketplace.visualstudio.com/items?itemName=fedaykindev.openchamber ) / [Open VSX Registry ](https://open-vsx.org/extension/FedaykinDev/openchamber ) or search "OpenChamber" in Extensions.
2025-12-13 16:34:17 +02:00
2025-12-07 19:32:53 +02:00
### CLI (Web Server)
```bash
2025-12-19 19:57:18 +02:00
# Quick install (auto-detects your package manager)
curl -fsSL https://raw.githubusercontent.com/btriapitsyn/openchamber/main/scripts/install.sh | bash
2025-12-07 19:32:53 +02:00
2025-12-19 19:57:18 +02:00
# Or install manually
2025-12-26 16:45:30 +02:00
bun add -g @openchamber/web # or npm, pnpm, yarn
2025-12-19 19:57:18 +02:00
```
```bash
2025-12-07 19:32:53 +02:00
openchamber # Start on port 3000
openchamber --port 8080 # Custom port
openchamber --daemon # Background mode
openchamber --ui-password secret # Password-protect UI
2025-12-31 05:43:18 -08:00
openchamber --try-cf-tunnel # Create a Cloudflare Quick Tunnel for remote access
2026-01-07 20:51:45 +01:00
openchamber --try-cf-tunnel --tunnel-qr # Show QR code for easy mobile access
openchamber --try-cf-tunnel --tunnel-password-url # Include password in URL for auto-login
2026-02-25 12:42:32 -05:00
OPENCODE_PORT = 4096 OPENCODE_SKIP_START = true openchamber # Connect to external OpenCode server
OPENCODE_HOST = https://myhost:4096 OPENCODE_SKIP_START = true openchamber # Connect via custom host/HTTPS
2025-12-07 19:32:53 +02:00
openchamber stop # Stop server
2025-12-19 19:57:18 +02:00
openchamber update # Update to latest version
2025-12-07 19:32:53 +02:00
```
### Desktop App (macOS)
Download from [Releases ](https://github.com/btriapitsyn/openchamber/releases ).
2026-02-27 02:13:23 +08:00
### Docker Compose
```bash
docker compose up -d
```
The service will be available at `http://localhost:3000` .
**Data Directory Permission Note:** The `data/` directory is mounted into the container for persistent storage (config, sessions, SSH keys, workspaces). Before running, ensure the directory exists and has proper permissions:
```bash
# Create data directories with correct ownership
mkdir -p data/openchamber data/opencode/share data/opencode/config data/ssh data/workspaces
# Fix permissions (replace $USER with your username)
chown -R 1000:1000 data/
```
Without proper permissions, the container may fail to start or encounter permission denied errors when writing to these directories.
2025-12-07 19:32:53 +02:00
## Prerequisites
2025-12-21 03:03:26 +02:00
- [OpenCode CLI ](https://opencode.ai ) installed
- Node.js 20+ (for web version)
2025-12-31 05:43:18 -08:00
- [cloudflared ](https://github.com/cloudflare/cloudflared/releases ) (required for `--try-cf-tunnel` )
2025-12-07 19:32:53 +02:00
See [CONTRIBUTING.md ](./CONTRIBUTING.md ) for guidelines.
## Tech Stack
2026-01-22 22:24:11 +06:00
### Frontend
2026-02-27 02:13:23 +08:00
2026-01-22 22:24:11 +06:00




### State & UI
2026-02-27 02:13:23 +08:00
2026-01-22 22:24:11 +06:00


### Backend & Desktop
2026-02-27 02:13:23 +08:00
2026-01-22 22:24:11 +06:00



2025-12-07 19:32:53 +02:00
## Acknowledgments
Independent project, not affiliated with OpenCode team.
**Special thanks to:**
2026-01-02 22:06:29 +02:00
- [OpenCode ](https://opencode.ai ) - For the excellent API and extensible architecture.
- [Flexoki ](https://github.com/kepano/flexoki ) - Beautiful color scheme by [Steph Ango ](https://stephango.com/flexoki ).
- [Pierre ](https://pierrejs-docs.vercel.app/ ) - Fast, beautiful diff viewer with syntax highlighting.
- [Tauri ](https://github.com/tauri-apps/tauri ) - Desktop application framework.
- [Ghossty-web ](https://github.com/coder/ghostty-web ) - for a great implementeation of a Ghostty web renderer.
- [David Hill ](https://x.com/iamdavidhill ) - who inspired me to release this without [overthinking ](https://x.com/iamdavidhill/status/1993648326450020746?s=20 ).
- My wife, who created a beautiful firework animation for the app while testing it for the first time.
2025-12-07 19:32:53 +02:00
## License
MIT