Tauri – Creating Tiny Desktop Apps With React/Vue
tauri.app
tauri.app
However, it does seem quite hard to do if there's not a dedicated team just for developing such a GUI framework. raphlinus [0] has some great knowledge about this that I've read from his blog posts, such as his most recent one, Advice for the next dozen Rust GUIs [2]. In my opinion, the Flutter-like approach is the way to go if you want to get good performance without webviews, have a consistent user experience across platforms, and be able to write once and deploy everywhere.
[0] https://news.ycombinator.com/user?id=raphlinus
Ideally you want something that uses the host’s UI conventions, works correctly with keyboard shortcuts, uses accessibility APIs, can drag-and-drop with other apps, etc. Using a DOM UI will get you a lot of that without too much effort. Using a WebGL UI won’t.
The documentation is still a bit lacking, otherwise I think it'd have gone much easier.
On the positive side, their memory footprint has indeed decreased by hundreds of MB, in one case from 1.6GB average down to 72MB average.
The backend is entirely written in Rust.
I did some electron apps before, and I have to say, Tauri really feels snappier.
Edit:
Ah, Svelte is supported, just omitted from the HN title: https://github.com/tauri-apps/tauri/blob/dev/tooling/cli/tem...
https://news.ycombinator.com/item?id=31764015 ( 238 comments, 2 months ago )
https://news.ycombinator.com/item?id=29807022 ( 419 comments, 7 months ago )
https://news.ycombinator.com/item?id=26194990 ( 417 comments, 1 year ago )
Tauri 1.0 – Electron Alternative Powered by Rust - https://news.ycombinator.com/item?id=31764015 - June 2022 (238 comments)
Tauri – Electron alternative written in Rust - https://news.ycombinator.com/item?id=29807022 - Jan 2022 (419 comments)
Tauri: Rust-based Electron alternative releases beta - https://news.ycombinator.com/item?id=27155831 - May 2021 (168 comments)
Tauri: An Electron alternative written in Rust - https://news.ycombinator.com/item?id=26194990 - Feb 2021 (417 comments)
Creating Tiny Desktop Apps with Tauri and Vue.js - https://news.ycombinator.com/item?id=23862634 - July 2020 (2 comments)
Tauri – toolchain for building secure native apps that have tiny binaries - https://news.ycombinator.com/item?id=23769424 - July 2020 (116 comments)
[0] https://yew.rs/
[1] https://github.com/seed-rs/seed
[2] https://github.com/a5huynh/spyglass - Create your own personal search engine by crawling & indexing files/docs/websites that you want.
The weight of an app is more than just the size on disk, which tbh, is insignificant in today's harddrive. What's a couple hundred extra megs?
The advantage of shipping your own browser is the control, and thus, reduction in having to support multiple different webviews and the bugfixing associated with that.
The secondary advantage is that you don't have to update and ship a new binary every time Chromium updates.