# radicle-desktop Tauri desktop app for Radicle. Svelte 5 frontend communicates with a Rust backend via Tauri IPC commands. TypeScript types are generated from Rust structs using ts-rs (`crates/radicle-types/`). ## Tech stack - Svelte 5 with runes syntax (`$state`, `$derived`, `$props`, `$effect`) - TypeScript, Vite, Vitest, Playwright - Path aliases: `@app` (src), `@bindings` (crates/radicle-types/bindings), `@tests` ## Commands ### Development ```sh npm run tauri dev # full Tauri dev build with hot reload npm run start:http # test-http-api backend on :8081 (no Tauri runtime) npm start # Vite dev server; in a browser it talks to test-http-api ``` Set `VITE_LOG_INVOKE_TIMINGS=true` to log each command's duration (`[invoke] ms`) to the browser console. It is off by default. ### Checks and linting ```sh npm run check # svelte-check, eslint, prettier, then scripts/check-rs npm run format # auto-fix prettier issues ``` ### Unit tests ```sh npm run test:unit ``` DOMPurify does not sanitize under happy-dom (the unit-test environment): `