Repository navigation
StoneSVN: a Vue and Vite frontend inside a Tauri SVN desktop client #23825
firzen
started this conversation in
Show and tell
Replies: 1 comment
|
Nice writeup — the Vite/Tauri boundary is exactly where these setups usually get messy, so a few notes from running
The clean split of "browser frontend never executes SVN, native commands go through Tauri in Rust" is the correct |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Sharing StoneSVN, an MIT-licensed SVN desktop client built with Vue 3, Vite, Tauri 2 and Rust. It runs on Windows, macOS and Linux and is developed from OrcaSVN.
For Vite users building desktop frontends, the concrete integration is small:
beforeDevCommandstartsvite, and itsdevUrlpoints to port 1420. Vite usesstrictPortso a busy port fails instead of silently changing the address expected by the desktop shell.src-tauri, keeping Rust changes outside the frontend watcher.TAURI_DEV_HOST, when set, controls the dev server host and the HMR WebSocket address; the HMR port is 1421 in that mode.vue-tsc --noEmitbeforevite build. The build configuration groups Vue/Pinia/i18n, Element Plus and Tauri packages into manual chunks. These are build boundaries, not a measured startup-performance claim.The Vue UI reviews multiple working copies, text diffs and commit selection; native SVN operations run through Tauri commands in Rust using a separately installed SVN CLI. The browser frontend does not execute SVN itself. General Merge, Switch and line-level Blame views are not currently available.
Build configuration · Tauri integration · Source and setup · Overview and installers
Feedback from developers using Vite inside a desktop webview would be useful, especially on keeping the frontend/native development boundary clear. Self-submission; this introduction was prepared with AI assistance.
All reactions