ferdium / ferdium-app

All your services in one place, built by the community
https://ferdium.org
Apache License 2.0
2.92k stars 176 forks source link

Feature: Use tauri instead of electron #747

Closed mariocynicys closed 1 year ago

mariocynicys commented 1 year ago

Preflight Checklist

Problem Description

Not really a problem, but was thinking of having a lighter ferdium by using tauri, which has a very superb performance compared to electron.

Ferdium might get a significant performance gain and lesser memory footprint by switching to tauri. I know this can be such a big change but I think it's worth it.

Proposed Solution

Moving to tauri. Relevant benchmarks for comparison can be found here.

Alternatives Considered

None

Additional Information

No response

cino commented 1 year ago

@mariocynicys Thanks for the suggestion, I have however been looking into Tauri for a while now and according to the latest issues i've read it's not possible. We are using Electron's Webview component to have a webpage in a webpage.

Sources:

So at this point, I'd love to have a Ferdium that could embrace the power of Tauri however, besides the fact that it's a really, really big change. It's not actually possible

If you believe it is possible, we would love to hear about it but for now closing this issue :)

ylluminate commented 8 months ago

Has the landscape changed for this not being viable?

MoonBox5 commented 4 months ago

@cino

We are using Electron's Webview component to have a webpage in a webpage. (...) So at this point, I'd love to have a Ferdium that could embrace the power of Tauri however, besides the fact that it's a really, really big change. It's not actually possible

If you believe it is possible, we would love to hear about it but for now closing this issue :)

Tauri has made this possible now. Please revisit the idea of a Tauri rewrite.

Relevant Tauri PR: tauri-apps/tauri/pull/8280 Example: https://github.com/tauri-apps/tauri/tree/dev/examples/multiwebview

ylluminate commented 4 months ago

Wow... Very interesting. Are there any ways to estimate the resource (CPU + memory) savings that might be realized through this?

I've seen speculation that such a rewrite could considerably help Ferdium in running on lighter/older hardware more efficiently with less memory and CPU cycles as well as higher performance and battery life (not to mention potentially better/easier platform integration)...