Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider a port away from Electron #397

Open
OrangeDrangon opened this issue Sep 15, 2022 · 5 comments
Open

Consider a port away from Electron #397

OrangeDrangon opened this issue Sep 15, 2022 · 5 comments

Comments

@OrangeDrangon
Copy link
Owner

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.

tauri-apps/tauri#5088

@yochananmarqos
Copy link

Make it so. 👍

@cl0vrfi3ld
Copy link

I was just thinking this! If I have some spare time, I might just tinker around and see what I can do.

@OrangeDrangon OrangeDrangon pinned this issue Jan 2, 2024
@OrangeDrangon
Copy link
Owner Author

What are the features considered essential for this release to replace the electron version?

  1. Rich Notifications
  2. Rich Tray Icon

@LSeelig
Copy link

LSeelig commented Aug 16, 2024

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.

@Technetium1
Copy link

@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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants