TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tauri – Creating Tiny Desktop Apps With React/Vue

65 pointsby modinfoalmost 3 years ago

9 comments

cercatrovaalmost 3 years ago
I like Tauri and the fact that it&#x27;s written in Rust, but I do wonder just how tiny these apps are when it&#x27;s still using webviews, even if they&#x27;re system webviews and not Chrome instances like Electron. I would have liked to see something more akin to a native rendering framework like Flutter (native as in bare metal, non webviews, not native as in native OS elements).<p>However, it does seem quite hard to do if there&#x27;s not a dedicated team just for developing such a GUI framework. raphlinus [0] has some great knowledge about this that I&#x27;ve read from his blog posts, such as his most recent one, <i>Advice for the next dozen Rust GUIs</i> [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.<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;user?id=raphlinus" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;user?id=raphlinus</a><p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31297653" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31297653</a><p>[2] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32112846" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32112846</a>
评论 #32447021 未加载
评论 #32447200 未加载
评论 #32447245 未加载
devmoralmost 3 years ago
I&#x27;ve ported a couple of small to medium sized electron apps to Tauri with moderate success.<p>The documentation is still a bit lacking, otherwise I think it&#x27;d have gone much easier.<p>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.
评论 #32447319 未加载
graboidalmost 3 years ago
I am using Tauri + Preact [0] for a private project. It&#x27;s wonderful. With Preact + htm [1], I can have a really complex UI, that still feels snappy, without having to deal with webpack or any other build pipeline (after all, it is a hobby project and therefore should spark joy).<p>The backend is entirely written in Rust.<p>I did some electron apps before, and I have to say, Tauri really feels snappier.<p>[0] <a href="https:&#x2F;&#x2F;preactjs.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;preactjs.com&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;developit&#x2F;htm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;developit&#x2F;htm</a>
andrew_almost 3 years ago
Svelte was a curious omission, given its excellent performance and simplicity.<p>Edit:<p>Ah, Svelte is supported, just omitted from the HN title: <a href="https:&#x2F;&#x2F;github.com&#x2F;tauri-apps&#x2F;tauri&#x2F;blob&#x2F;dev&#x2F;tooling&#x2F;cli&#x2F;templates&#x2F;plugin&#x2F;with-api&#x2F;examples&#x2F;svelte-app" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tauri-apps&#x2F;tauri&#x2F;blob&#x2F;dev&#x2F;tooling&#x2F;cli&#x2F;tem...</a>
slyallalmost 3 years ago
Previously:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31764015" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31764015</a> ( 238 comments, 2 months ago )<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29807022" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29807022</a> ( 419 comments, 7 months ago )<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26194990" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26194990</a> ( 417 comments, 1 year ago )
评论 #32447071 未加载
yobertalmost 3 years ago
I can&#x27;t believe they didn&#x27;t make their logo something like ⧊ :)
a5huynhalmost 3 years ago
In addition to React&#x2F;Vue, you have the ability to use Rust client-side frameworks such as Yew[0] or seed[1] for a truly full-stack Rust experience. I&#x27;ve been using Tauri + Yew to build an cross-platform app (shameless plug: [2]) and it&#x27;s been a pleasure. There are some rough edges, but most of those have been due to platform specific issues (notifications, Windows vs Unix paths, etc.) and not Tauri&#x2F;Yew itself.<p>[0] <a href="https:&#x2F;&#x2F;yew.rs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;yew.rs&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;seed-rs&#x2F;seed" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;seed-rs&#x2F;seed</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;a5huynh&#x2F;spyglass" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;a5huynh&#x2F;spyglass</a> - Create your own personal search engine by crawling &amp; indexing files&#x2F;docs&#x2F;websites that you want.
jbverschooralmost 3 years ago
Not so &#x27;tiny&#x27; when they&#x27;re using webviews
评论 #32446855 未加载
评论 #32446818 未加载
collegeburneralmost 3 years ago
lowkey hoping to use this for a upcoming project, anybody know when they finishing mobile?