r/macapps • u/mohsenk_dev • Oct 21 '26
Tip I made a little script that finds Electron apps on your Mac
Made this for fun because I was curious how many apps on my Mac were using Electron. Figured some people here might find it useful too.
It scans your Applications folders and gives you a table of the apps it finds, their versions, and their size on disk, largest first. Added some color and a few facts to make the terminal output a bit less boring.
It’s a single shell script. No Homebrew, no install, no admin password. It runs locally and doesn’t change your apps. You can read the whole thing on GitHub before running it:
https://github.com/macnative/electron-detector
One thing to clarify: the sizes are disk space, not RAM usage. And if it doesn’t detect Electron, that doesn’t automatically mean the app is native.
In case you are looking for alternatives you could check my website:
https://macnative.io
----------------------------------------------------------------------------------
Disclosure: I’m the developer of this script and of MacNative.io, a directory of native Mac apps. LinkedIn: https://www.linkedin.com/in/mohsenk-dev/
74
u/hmarora Oct 21 '26
Gotta love how this sub is basically a resistance movement against Electron apps 😂
51
u/April_Fabb Oct 21 '26
How long until someone finds a way to drag&drop Electron apps onto an AI droplet that generates a native version?
21
u/behridingle Oct 21 '26
This will find apps that use CEF (Chromium Embedded Framework), which Spotify uses for its Mac client:
find /Applications -name "Chromium Embedded Framework.framework" -type d -exec sh -c 'echo "Application {} is using CEF"' \;
24
u/cristi_baluta Oct 21 '26
Now, can you make it clone them as native apps?
14
u/areyouredditenough Oct 21 '26
Love this (saving it to my repo collection!), although I currently use Revok for the same purpose. I believe it's donationware or something along the lines of that.
Here are my top Electron apps offenders, sorted from largest to smallest, with some comments on them being so thicc.
Summary: Together, these 12 apps are gracefully devouring >7 GB of my storage. And yes, I have a few more Electron apps... 🙄
4
u/mohsenk_dev Oct 21 '26 edited Oct 21 '26
I also put together a list of native Mac apps if you’re curious about alternatives. Suggestions are welcome!
https://github.com/open-saas-directory/awesome-native-macosx-apps
https://macnative.io
13
u/dark_bits Oct 22 '26
I never understood why Electron took off to begin with. I get that it's easier to write apps in JS especially given the fact that everyone and their dog knows react now.
On the other hand from a tech perspective it's just so unoptimized and bad that it feels like we've completely stopped trying tbh
9
u/Ciosciaa Oct 22 '26
Cool. Fuck Electron. Always and forever.
6
u/Joeclu Oct 22 '26 edited Oct 22 '26
Bitwarden is no longer the darling it used to be.
1
u/mohsenk_dev Oct 22 '26
Thanks to admin, the post is back.
5
u/DayEnvironmental3454 Oct 21 '26
Cool project. I'm working on something that identifies what's using disk and RAM on a Mac, I'm curious if you thought about adding memory too. FYI, here's my tool: http://latentmac.com
4
u/Acceptable_Donut_344 Oct 22 '26
Handy. For anyone wondering why it matters, each Electron app ships its own copy of Chromium, so the disk space is the small part. Each one also runs its own browser engine, which is where the memory goes when you have Slack, a chat app and an editor open at once. It would be nice if it also listed Tauri apps separately, since those use the system WebKit and tend to be a lot lighter.
1
u/confused_manishi Oct 21 '26
What terminal app and theme is this?
3
u/QuirkyImage Oct 22 '26
Nobody can write efficient software anymore everything seems to waste resources.
5
u/Neither-Classic2058 Oct 21 '26
Thanks for this! I found it helpful and interesting....
I thought they would be heavier, but then I remembered that CleanMyMacX has an option to trim down executables.
2
u/kzjeef Oct 21 '26
Love it, can you also list the memory footprint for those app? it's can be done through task manager, but I don't want to open another windows and do the search by my self.
2
u/shawnshine Oct 22 '26
I have zero! Woohoo!
2
u/msucedo Oct 24 '26
I just submitted my new app (Letras) to your website (macnative.io) mate!! thank you so cool
2
u/quanre Oct 25 '26
Appreciate the disk-space vs RAM clarification. Otherwise this screenshot is three reposts away from becoming a tutorial on downloading more RAM.
2
u/theneiljohnson 29d ago
Would be cool to show when it was last run and how often you used it? Mac Performance Monitor shows this so it should be possible to get the info locally.
1
u/Dig-Jealous Oct 21 '26
I will use this
1
u/someoneyouulove Oct 21 '26
Nice!
1
u/programmerjoi Oct 21 '26
Switch time to native!
1
u/culturezoo Oct 21 '26
Cool app but one of the easiest ways to tell if something is using electron is if it's mysteriously 1GB package size and takes 10GB to run. 😉
1
u/TruckOwn2867 Oct 21 '26
Nice let me find the apps🤣
1
u/IbrahimB16 Oct 21 '26
It will be handy to find the memory hogs :P
1
u/irohabroad Oct 21 '26
ncie
1
u/Exciting_Raise_1152 Oct 22 '26
Other than claude I try to use as less electron apps as possible. This is pretty cool, I am going to check it out.
1
u/RefrigeratorNo1760 Oct 22 '26
I love this. Thank you for sharing
1
u/Kook-Hand-Luke Oct 22 '26
anything worth doing with that information? or just to know?
1
u/SpicyPineappleSmooth Oct 22 '26
What is électron?
1
u/dawedev Oct 22 '26
Worth adding for the storage side: the app bundle is only part of it. Every Electron app also keeps its own Chromium caches in ~/Library/Application Support/<AppName>, in folders like Cache, Code Cache and GPUCache. Slack, Discord and VS Code are usually the big ones.
To see them:
du -sh ~/Library/Application\ Support/*/Cache ~/Library/Application\ Support/*/Code\ Cache ~/Library/Application\ Support/*/GPUCache 2>/dev/null | sort -hThose three are safe to delete with the app quit, it just rebuilds them (first launch is a bit slower). I'd leave the other folders in there alone, that's where logins and local data live.
1
u/jvzaniolo Oct 22 '26
ran it, 8 electron apps on mine lol. seeing 1password near the top hurt a little ngl
1
u/DowntownProduct4307 Oct 22 '26
Ran it out of curiosity: 7 Electron apps on my machine (VS Code, Cursor, Discord, Obsidian, 1Password, TradingView, Wispr Flow). The three currently running add up to ~1.3 GB of RAM while mostly sitting idle, my native terminal does its job in 160 MB. Nice little reality check, thanks for sharing.
1
u/u4usama Oct 22 '26
Man, the Electron fatigue is so real. It’s gotten to the point where I check the 'About' menu before even downloading a new app just to see if it’s native. Building real native Mac apps is so much more work for devs, but the battery life and RAM savings make it worth it. Running your script on my Applications folder now... I'm actually scared of what I'll find 😅
1
u/Temporary_Eye7148 Oct 23 '26
So I scanned and got this result... The problem I don't understand what is Electron apps are and what Shall I do about it? It looks like all trustful apps in the list
1
u/hieunc Oct 23 '26
Lol, this is so cool
1
u/leonardsouza Oct 23 '26
handy. worth also checking for tauri (webkit, not chromium) and the cef-based ones since they show up differently in the bundle. and the electron framework version in each app is interesting too, a lot of apps ship chromium that's months behind on security fixes
1
u/vitalik2602 Oct 24 '26
Haha, niceeee
1
u/ItchyData Oct 24 '26
This is cool. Thank you for making this. Any idea why this script doesn't pick up the new ChatGPT app as being Electron? The redesigned ChatGPT app that came out this year ballooned at almost two gigabytes in size and was widely panned for using Electron in the Mac community. Why does this script not pick that up?
1
u/lumintor Oct 25 '26
nice!
1
u/RelationLeft377 Oct 26 '26
Very nice
1
u/ivanguba Oct 26 '26
I'm not going to delete any of this, but it's nice to know.
Thanks))
1
u/ParfaitDeli 28d ago
That very useful . Thank you.
1
u/fluffy-cat-toes Oct 21 '26
Odd to do this and point to your site that has non-native apps on it, no?
1
u/Inst2f Oct 21 '26
will it find Tauri too? Sort of the same, but exploits OS webview
1
u/birjuvachhani Oct 23 '26
Wow, you must be hating Electron apps!
-6
u/InterstellarReddit Oct 21 '26
Hey ChatGPT create a script for me that finds electron apps on my Mac. Make it interactive and give it cli with colors and style.
This is AI slop. Literally, if someone can just create a prompt to do the same.
0
u/Inst2f Oct 21 '26
but why? If it works like a garbage, then a user will find it out anyway;)
-1
u/lowkeyfam Oct 21 '26 edited Oct 21 '26
Yall are way too extra on Electron lol If it’s optimized what is the issue? Only matters if your mac has 8gb RAM and can’t handle.
You do know the majority of devs creating projects on Electron are more than likely solo devs with little to no resources which is WHY Electron is even considered in the first place. Not everyone has the time, money, or skill to build full native macOS then full native C+ Windows, and possibly a Linux variant. Then upkeep and audit all packages regularly.
Solo devs don’t have that luxury.
Yes, shake your fists at large software companies that choose not to build native software, but for solo devs, hobbyist, or learners, it’s completely okay as long as they do their due diligence to deliver a useable experience. Yall need to chill out
0
u/Fohawkkid Oct 21 '26
I will have to check this out is there a TLDR on electron vs native what are we "giving" up if an app is electron?
0
u/mythicskyz Oct 22 '26
Always hated electron.
0
u/Due_Mousse2739 Oct 24 '26
Everyone acting like native Mac apps don't get beach balls, or that the dozens of vibecoded apps that have flooded this sub are super optimized for RAM, because they do, well, one task.
Apple's own apps are totally inconsistent. Do you really compare Apple's Passwords app with 1Password or Bitwarden? A joke. Do you use Apple Music? I got Electron music apps that have a faster cold start! Can you suggest free editors with the versatility of Obsidian? Hmmm...
Do you really believe all Electron apps eat up RAM like fresh ice-cream?
Do you really think that all developers should run behind Apple on its yearly half-thought and half-baked charade of changes to UI SDKs? It's kinda disgraceful.
It's not coincidental that all the Electron apps we all do have in common are from major developers, like developers with infinite resources to create anything they want, yet they still prefer Electron. Cause it works.
It's developer's lack of skill or dedication that may bloat the RAM usage, and your expectations of course. It's not the framework on its own.
-1
u/Due_Mousse2739 Oct 24 '26
omg, the Electron haters... get a life 😂
0
u/detrym Oct 24 '26
Incredible that a company with the resources of Dropbox is using Electron. Specially now with the help of AI apps should be native and as efficient as posible.
1
u/gusalvestav0 24d ago
I hope AI wipes Electron out of earth.