News for hackers. Stuff that matters.

katrinarodri

Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @10:13PM (#44122485)
Having rich UI library was important for us too. We went with Tauri because we wanted access to web UI libraries.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @09:47PM (#44122337)
RAW files aren't supported yet, but we plan on including them. We're also working on a support page, I'll share that here when it's out.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @06:19PM (#44121164)
Yeah, we were talking about the app itself, it was way too big when we first started.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @06:00PM (#44121041)
Now knowing how big Electron is off the bat compared to Tauri, I think I'd have to learn a lot more about how to optimize Electron to build with it again. That said, I think Electron is great for prototyping an idea and quickly getting it out.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @05:58PM (#44121022)
I see
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @05:57PM (#44121019)
Strange. From the comments here sounds like there are a lot of issues with Tauri's UI being inconsistent.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @05:26PM (#44120817)
Yes, we were able to port the CLIP model to work with ONNX Runtime for inference
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @05:16PM (#44120742)
Yeah, familiarity with the UI component libraries was a big driver in using web technologies for it.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @04:45PM (#44120493)
Interesting. I'd love to get our app size down further, under 15MB would be great.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @03:18PM (#44119671)
Yes, it's nice that we can support the same functionality we were supporting in our Electron app using a much smaller binary with Tauri.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @03:13PM (#44119612)
I'd love to see a comparison like this.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @02:42PM (#44119247)
Interesting you ran into UI regressions on Windows. I'm looking forward for us to get to that point where we can test on a Windows and see what changes...hopefully it's smooth.

With Electron's UI powered by the same browser across platforms, you end up with a much more consistent experience. Makes sense to optimize for that.

Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @02:12PM (#44118952)
sounds like you built a really useful app for working with large media libraries.

In our case, the bottleneck was related to how big the app was to start and how much we could optimize it to index media files for local AI search.

Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @01:53PM (#44118763)
thanks for checking it out.

I'd love to write more about bundling redis binaries into these apps soon. There isn't a lot written about it now (at least that I could find) and it was a lot of trial and error to get it working.

Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @01:46PM (#44118668)
What kind of issues are those? We want to support Windows soon. With Electron we had some cross-platform issues where our bundled binaries wouldn't run reliably in different platforms (even when the binaries were bundled and loaded for those specific platforms).
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @01:43PM (#44118635)
Happy to share the experience. It was something we debated for a long time. Rebuilding something that is already kind've working is daunting, but in this case we are happy with the results.
Re:Show HN: I rewrote my Mac Electron app in Rust on Wednesday May 28, 2025 @01:30PM (#44118478)
We actually haven't rolled out cross platform support yet with the Tauri version, so we will see how that goes. Our UI needs are simple, luckily. What kind of rendering differences were you seeing with Tauri? Was there one platform that worked the best/worst for your app? We'd love to support Windows next.

With the Electron version of the app, we had issues running our bundled binaries on Macs with Intel chip. That caused us so many headaches that we decided for the rebuild on Tauri that we wanted to focus on one platform first (Macs with Apple chip) before supporting other platforms.

We went with Tauri 1.4 and no issues so far. Will have to check out the docs for 2.0 migration and see what that looks like.

Show HN: I rewrote my Mac Electron app in Rust

https://desktopdocs.com/?v=2025

A year ago, my co-founder launched Desktop Docs here on HN. It's a Mac app we built with Electron that uses CLIP embeddings to search photos and videos locally with natural language. We got positive feedback from HN and our first paying customers, but the app was almost 1GB and clunky to use.TLDR; rebuilding in Rust was the right move.So we rewrote the app with Rust and Tauri and here are...

( Read More... | 443 comments | 233 points | on HN )
I work in energy services for commercial real estate and built a free energy monitoring tool for residential use after hearing from friends that they wanted more ways to monitor their ConEdison meter readings.

It's free to use and requires connecting your ConEdison account to see real-time and historical electric usage. The tool includes an energy usage graph that you'd see in your ConEdison portal, but with additional insights like peak daily and weekly usage patterns, percentage of usage occurring in off-peak hours, and recommendations for lowering energy usage.

Roblox will prioritize multiplayer projects that feature mobile optimization, social mechanics, and in-experience avatars.
Re:LLM React Node app template on Saturday February 10, 2024 @03:28PM (#39329895)
A template for a node and react chat app that connects to HuggingFace or OpenAI.
Re:An Inside Look at the Struggles of OnlyFans Content Creators on Thursday February 08, 2024 @08:54PM (#39310483)
What resources would you recommend for creators who are facing unauthorized distribution of their content?

Older »