-
Install Rust: https://rustup.rs/
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
Install Node.js (optional, for npm scripts): https://nodejs.org/
cd src-tauri
cargo tauri devnpm install
npm run devThe first run will take a few minutes as Cargo downloads and compiles dependencies.
Subsequent runs will be much faster.
- A desktop window should open with the title "Prism"
- Window size: 1200x800
- The UI should look identical to the browser version
- All features should work (mock responses)
- History should persist in localStorage
If you see icon-related warnings, that's expected. The placeholder icons are temporary. To generate proper icons:
cargo tauri icon path/to/your-icon.pngMake sure you have the latest Rust stable:
rustup update stableIf you see port conflicts, Tauri will automatically try another port.
cd src-tauri
cargo tauri buildThe built app will be in src-tauri/target/release/bundle/
- The UI is fully functional with mock responses
- Next phase: Implement real HTTP engine in Rust
- Tauri commands will be added to
src-tauri/src/main.rs