Hacking Tauri for Designer
5 days ago
- #DevTools
- #Tauri
- #Web Development
- Tauri frontend can be opened in a browser with all functionalities working the same as in a normal app window.
- Tauri uses Webview, but running it in a browser required building fastrepl/char/plugins/relay due to missing __TAURI_INTERNALS__ globals.
- The line between 'developer' and 'designer' is blurring, as shown by tools like Baby Cursor in Cursor's integrated browser.
- fastrepl/char/plugins/relay enables Tauri functionality in browsers by replacing missing globals and routing calls via WebSocket.
- The 'tauri dev' command requires Rust and other dependencies, making it resource-intensive and time-consuming.
- A Staging build exists for testing, enabling UI iteration with TypeScript changes without requiring Rust builds.