opencode/packages/desktop-electron
Luke Parker 4ab35d2c5c
fix(electron): hide Windows background consoles (#16842)
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-03-11 13:33:06 +10:00
..
icons
resources desktop: remove unnecessary macOS entitlements (#16161) 2026-03-05 05:43:21 -06:00
scripts
src fix(electron): hide Windows background consoles (#16842) 2026-03-11 13:33:06 +10:00
.gitignore
AGENTS.md
electron-builder.config.ts
electron.vite.config.ts
package.json release: v1.2.24 2026-03-09 16:09:34 +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.