opencode/packages/desktop
opencode 09d2fd57ff release: v1.1.30 2026-01-21 20:55:35 +00:00
..
scripts feat(desktop): spawn local server with password (#8139) 2026-01-13 13:58:00 +08:00
src fix(web): favicon rename again 2026-01-21 14:36:21 -06:00
src-tauri feat(desktop): properly integrate window controls on windows (#9835) 2026-01-21 08:35:05 -06:00
.gitignore
README.md
index.html fix(web): favicon rename again 2026-01-21 14:36:21 -06:00
package.json release: v1.1.30 2026-01-21 20:55:35 +00:00
sst-env.d.ts
tsconfig.json
vite.config.ts

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.