2026-01-15 00:49:58 +02:00
# <picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/btriapitsyn/openchamber/raw/HEAD/docs/references/badges/openchamber-logo-dark.svg"><img src="https://github.com/btriapitsyn/openchamber/raw/HEAD/docs/references/badges/openchamber-logo-light.svg" width="32" height="32" align="absmiddle" /></picture> @openchamber/web
[](https://github.com/btriapitsyn/openchamber/stargazers)
[](https://github.com/btriapitsyn/openchamber/releases/latest)
[](https://discord.gg/ZYRSdnwwKA)
2025-12-07 19:32:53 +02:00
2026-03-05 03:07:26 +02:00
Run [OpenCode ](https://opencode.ai ) in your browser. Install the CLI, open `localhost:3000` , done. Works on desktop browsers, tablets, and phones as a PWA.
2025-12-21 16:21:10 +02:00
2026-03-05 03:07:26 +02:00
Full project overview, screenshots, and all features: [github.com/btriapitsyn/openchamber ](https://github.com/btriapitsyn/openchamber )
2025-12-21 16:21:10 +02:00
2026-03-05 03:07:26 +02:00
## Install
2025-12-07 19:32:53 +02:00
```bash
2025-12-19 19:57:18 +02:00
curl -fsSL https://raw.githubusercontent.com/btriapitsyn/openchamber/main/scripts/install.sh | bash
```
2026-03-05 03:07:26 +02:00
Or install manually: `bun add -g @openchamber/web` (or npm, pnpm, yarn).
> **Prerequisites:** [OpenCode CLI](https://opencode.ai) installed, Node.js 20+.
2025-12-19 19:57:18 +02:00
## Usage
```bash
2026-03-05 03:07:26 +02:00
openchamber # Start on port 3000
openchamber --port 8080 # Custom port
openchamber --ui-password secret # Password-protect
openchamber stop # Stop server
openchamber update # Update to latest
```
<details>
<summary>Remote access & tunnels</summary>
```bash
openchamber --try-cf-tunnel # Cloudflare Quick Tunnel
openchamber --try-cf-tunnel --tunnel-qr # + QR code for mobile
openchamber --try-cf-tunnel --tunnel-password-url # + password in URL
```
Named Tunnel mode is configured in-app at **Settings > OpenChamber > Tunnel** . Requires [cloudflared ](https://github.com/cloudflare/cloudflared/releases ).
</details>
<details>
<summary>Connect to external OpenCode server</summary>
```bash
OPENCODE_PORT = 4096 OPENCODE_SKIP_START = true openchamber
OPENCODE_HOST = https://myhost:4096 OPENCODE_SKIP_START = true openchamber
2025-12-07 19:32:53 +02:00
```
2026-03-05 03:07:26 +02:00
| Variable | Description |
|----------|-------------|
| `OPENCODE_HOST` | Full base URL of external server (overrides `OPENCODE_PORT` ) |
| `OPENCODE_PORT` | Port of external server |
| `OPENCODE_SKIP_START` | Skip starting embedded OpenCode server |
</details>
<details>
<summary>Docker</summary>
```bash
docker compose up -d # Available at http://localhost:3000
```
2026-03-03 18:35:03 +02:00
2026-03-05 03:07:26 +02:00
**Optional env vars:**
```yaml
environment :
UI_PASSWORD : your_secure_password
CF_TUNNEL : "true" # Options: true, qr, password
```
2026-01-22 08:32:04 -08:00
2026-03-05 03:07:26 +02:00
**Data directory:** mount `data/` for persistent storage. Ensure permissions:
```bash
mkdir -p data/openchamber data/opencode/share data/opencode/config data/ssh
chown -R 1000:1000 data/
```
2026-01-22 08:32:04 -08:00
2026-03-05 03:07:26 +02:00
</details>
2025-12-07 19:32:53 +02:00
2026-03-05 03:07:26 +02:00
<details>
<summary>Background & daemon mode</summary>
2025-12-07 19:32:53 +02:00
2026-03-05 03:07:26 +02:00
```bash
openchamber --daemon # Run in background
openchamber stop # Stop background server
```
2025-12-07 19:32:53 +02:00
2026-03-05 03:07:26 +02:00
</details>
2025-12-21 16:21:10 +02:00
2026-03-05 03:07:26 +02:00
## What makes the web version special
2025-12-21 16:21:10 +02:00
2026-03-05 11:20:39 +02:00
- **Remote access** - Cloudflare tunnel with QR onboarding. Scan from your phone, start coding.
- **Mobile-first PWA** - optimized chat controls, keyboard-safe layouts, drag-to-reorder projects
- **Background notifications** - know when your agent finishes, even from another tab
- **Self-update** - update and restart from the UI, server settings stay intact
- **Cross-tab tracking** - session activity stays in sync across browser tabs
2025-12-21 16:21:10 +02:00
2026-03-05 03:07:26 +02:00
Plus everything from the shared OpenChamber UI: branchable timeline, Git sidebar, terminal, voice mode, and more.
2025-12-07 19:32:53 +02:00
## License
MIT