opencode 54443bfb7e release: v1.3.3 5 bulan lalu
..
icons 5cf235fa6c desktop: add electron version (#15663) 6 bulan lalu
resources 161734fb95 desktop: remove unnecessary macOS entitlements (#16161) 6 bulan lalu
scripts 547eb7676d feat(windows): add arm64 release targets for cli and desktop (#16696) 6 bulan lalu
src 1041ae91d1 Reapply "fix(app): startup efficiency" 5 bulan lalu
.gitignore 5cf235fa6c desktop: add electron version (#15663) 6 bulan lalu
AGENTS.md 5cf235fa6c desktop: add electron version (#15663) 6 bulan lalu
README.md 5cf235fa6c desktop: add electron version (#15663) 6 bulan lalu
electron-builder.config.ts 5cf235fa6c desktop: add electron version (#15663) 6 bulan lalu
electron.vite.config.ts 54e7baa6cf fix(desktop-electron): fix resource loading under file:// protocol (#17125) 6 bulan lalu
package.json 54443bfb7e release: v1.3.3 5 bulan lalu
sst-env.d.ts 5cf235fa6c desktop: add electron version (#15663) 6 bulan lalu
tsconfig.json 54e7baa6cf fix(desktop-electron): fix resource loading under file:// protocol (#17125) 6 bulan lalu

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.