opencode/packages/desktop
2026-02-19 22:38:42 +00:00
..
scripts
src fix(app): black screen on launch with sidecar server 2026-02-19 16:23:33 -06:00
src-tauri
.gitignore
AGENTS.md
index.html
package.json release: v1.2.8 2026-02-19 22:38:42 +00:00
README.md
sst-env.d.ts
tsconfig.json
vite.config.ts

OpenCode Desktop

Native OpenCode desktop app, built with Tauri v2.

Development

From the repo root:

bun install
bun run --cwd packages/desktop tauri dev

This starts the Vite dev server on http://localhost:1420 and opens the native window.

If you only want the web dev server (no native shell):

bun run --cwd packages/desktop dev

Build

To create a production dist/ and build the native app bundle:

bun run --cwd packages/desktop tauri build

Prerequisites

Running the desktop app requires additional Tauri dependencies (Rust toolchain, platform-specific libraries). See the Tauri prerequisites for setup instructions.