So you just made a nice & shiny new app with Electron. It works as expected, has a beautiful UI, eats a lot of RAM and is slow, right?
...
For further actions, you may consider blocking this person and/or reporting abuse
Now the question is how we make our Electron apps smaller 😂
I think you cannot make Electron apps smaller unless you're not using Electron anymore. I am thinking there should be a possibility on creating an installable PWA that only needs internet connection in order to install and that's it. Just a thought. Haven't done it, but I think it's possible [with some workarounds].
use Tauri
tauri.studio
Since, it bundles Chromium and V8 engine with your app, you cannot reduce its size.
Carlo felt like a much better approach but I find the same problems with it.
I guess we're just simply stuck. I was thinking about creating a screenshot application but a 120 MBs screenshot app with Electron doesn't looks like it is worth it. I did use an Electron based screen recorder and it is pretty famous. It was way too slow and I had to remove it.
Carlo is no longer maintained
Instead of Carlo, I highly recommend Neutralino. It lacks some of Electron's features, but instead of bundling Chromium or looking for Chrome it uses the OS' built-in browser (for example, in Windows, edge, or Safari in Mac)
Thanks for sharing Antoni. I hadn't heard about Carlo yet, will be investigating it. ðŸ¤
I think the most promising alternative for Electron right now is Tauri.
Excellent post.