opencode/packages/desktop-electron
Haekal Kalipaksi 4122733f56
feat(desktop-electron): Enable auto hide menu bar on main window
2026-03-13 04:17:05 +07: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 feat(desktop-electron): Enable auto hide menu bar on main window 2026-03-13 04:17:05 +07: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 refactor(provider): flow branded ProviderID/ModelID through internal signatures (#17182) 2026-03-12 14:48:17 +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.