opencode/packages/desktop-electron
Adam a379eb3867
Revert "fix(app): startup efficiency (#18854)"
This reverts commit 546748a461.
2026-03-24 18:36:37 -05:00
..
icons desktop: add electron version (#15663) 2026-03-04 15:12:34 +08:00
resources desktop: remove unnecessary macOS entitlements (#16161) 2026-03-05 05:43:21 -06:00
scripts feat(windows): add arm64 release targets for cli and desktop (#16696) 2026-03-12 00:25:09 +00:00
src Revert "fix(app): startup efficiency (#18854)" 2026-03-24 18:36:37 -05:00
.gitignore desktop: add electron version (#15663) 2026-03-04 15:12:34 +08:00
AGENTS.md desktop: add electron version (#15663) 2026-03-04 15:12:34 +08:00
README.md desktop: add electron version (#15663) 2026-03-04 15:12:34 +08:00
electron-builder.config.ts desktop: add electron version (#15663) 2026-03-04 15:12:34 +08:00
electron.vite.config.ts fix(desktop-electron): fix resource loading under file:// protocol (#17125) 2026-03-12 12:19:44 +08:00
package.json release: v1.3.2 2026-03-24 22:50:35 +00:00
sst-env.d.ts desktop: add electron version (#15663) 2026-03-04 15:12:34 +08:00
tsconfig.json fix(desktop-electron): fix resource loading under file:// protocol (#17125) 2026-03-12 12:19:44 +08:00

README.md

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.