opencode/packages/desktop-electron
2026-04-19 09:36:56 +00:00
..
icons
resources
scripts Remove CLI from electron app (#17803) 2026-04-09 13:18:46 +08:00
src fix(desktop-electron): run JSON migration before spawning sidecar (#23396) 2026-04-19 15:53:47 +08:00
.gitignore
AGENTS.md
electron-builder.config.ts Remove CLI from electron app (#17803) 2026-04-09 13:18:46 +08:00
electron.vite.config.ts beta badge for desktop app (#14471) 2026-04-16 06:03:41 +00:00
package.json sync release versions for v1.14.18 2026-04-19 09:36:56 +00:00
README.md
sst-env.d.ts
tsconfig.json

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.