opencode 98325dcdc6 release: v1.4.0 1 week ago
..
icons d36b38e4a6 fix(desktop-electron): match dev dock icon inset on macOS (#19429) 3 weeks ago
resources 161734fb95 desktop: remove unnecessary macOS entitlements (#16161) 1 month ago
scripts 82fc493520 feat(ci): use Azure Artifact Signing for Windows releases (#15201) 2 weeks ago
src b969066a20 electron: better menus (#20878) 2 weeks ago
.gitignore 5cf235fa6c desktop: add electron version (#15663) 1 month ago
AGENTS.md 5cf235fa6c desktop: add electron version (#15663) 1 month ago
README.md 5cf235fa6c desktop: add electron version (#15663) 1 month ago
electron-builder.config.ts 82fc493520 feat(ci): use Azure Artifact Signing for Windows releases (#15201) 2 weeks ago
electron.vite.config.ts 54e7baa6cf fix(desktop-electron): fix resource loading under file:// protocol (#17125) 1 month ago
package.json 98325dcdc6 release: v1.4.0 1 week ago
sst-env.d.ts 5cf235fa6c desktop: add electron version (#15663) 1 month ago
tsconfig.json 54e7baa6cf fix(desktop-electron): fix resource loading under file:// protocol (#17125) 1 month ago

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.