Open OrangeDrangon opened 1 year ago
Make it so. :+1:
I was just thinking this! If I have some spare time, I might just tinker around and see what I can do.
What are the features considered essential for this release to replace the electron version?
I still don't know how feasible this is, as it seems much more difficult than just making an electron app, and might mean losing cross-platform support, but Google Messages for Web has been reverse-engineered, so it's theoretically possible! https://blog.beeper.com/i/136162734/kind-of-a-big-deal https://github.com/mautrix/gmessages/
I would love being able to run a native app in the background. I really try to limit electron apps on my system because each one runs separately, consuming even more resources then, say, a PWA, but there isn't a browser with support for running PWAs fully in the background/system tray.
Perhaps building a library like Presage would be feasible. Hell, home servers could even enable push notifications so it wouldn't have to run in the background.
@LSeelig Tauri allows targetting every platform, cross-platform support is still very feasible! See https://tauri.app/v1/guides/building/cross-platform/ Your beeper link is a 404 👀
Separately, I think it's appropriate to wait until Tauri 2 isn't just a release candidate, then use the most current version, since it'll be starting from scratch anyway: https://v2.tauri.app/blog/tauri-2-0-0-release-candidate/
There is an interesting new library called tauri that serves a similar purpose as a electron without packaging an entire browser instead relying on system provided renders like webkitgtk on linux. This would reduce memory usage and app size dramatically. Work on this is currently blocked by tauri not supporting injecting their ipc commands into external urls. There is work being done on this so that it will be possible in the future.
https://github.com/tauri-apps/tauri/issues/5088