paviko d7c0e9fe4f Merge public/dev into current branch — resolve conflicts in bun.lock and server: mount /app 2 ماه پیش
..
scripts f05f175842 feat(desktop): spawn local server with password (#8139) 2 ماه پیش
src 564d3edfac fix(app): new layout issues 2 ماه پیش
src-tauri e60ded01df chore(desktop): Stop Killing opencode-cli on dev 2 ماه پیش
.gitignore 81c3c63895 chore: rename packages/tauri -> packages/desktop 3 ماه پیش
README.md 494e03490e docs: fix desktop stuff 3 ماه پیش
index.html 679270d9e0 feat(app): new layout 2 ماه پیش
package.json bc3616d9c6 release: v1.1.24 2 ماه پیش
sst-env.d.ts 28c802f399 wip: zen 4 ماه پیش
tsconfig.json 76ac1ccb6b chore: show version on error page 3 ماه پیش
vite.config.ts be32d4cf76 Merge public/dev into current branch — resolve conflicts: server: mount /app, add fetch RPC, update deps (@modelcontextprotocol/[email protected], keep @iarna/toml) 3 ماه پیش

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.