cd /news/developer-tools/i-replaced-my-137mb-electron-menu-ba… · home › topics › developer-tools › article
[ARTICLE · art-155893] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

I replaced my 137MB Electron menu-bar app with a 693KB native build

A developer rebuilt QuotaTray, a macOS and Windows menu-bar utility that displays AI API quota usage, as a native app after an initial Electron version, shrinking the macOS Apple Silicon build from 110–137MB to 693KB and the Windows build to 221KB. The developer attributes the reduction to dropping the bundled Chromium and Node runtime and using native APIs like NSStatusItem and NSPopover for the dropdown, at the cost of maintaining two separate codebases. QuotaTray 2.0 is sold for $24.

by read1 min views1 publishedOct 23, 2026

I ship a small macOS menu-bar utility that shows AI API quota usage — used + remaining with a reset countdown — in a Control-Center-style dropdown. Click any tool for a native detail window. The first version was Electron: a 110–137MB download for what is essentially a dropdown panel and a settings window.

Last week I rebuilt it native (macOS + Windows, separately). The macOS Apple Silicon build is now 693KB. The Windows build is 221KB. Same features, roughly 200× smaller.

What actually made the difference:

The web runtime was the product. Chromium + Node accounted for nearly all of those megabytes. My own code was a rounding error. If your app is mostly native UI with a little logic, you're shipping a browser to display a dropdown.

Menu-bar UX is one native API call. NSStatusItem + NSPopover gives you the dropdown behavior for free — vibrancy, dark mode, screen-edge positioning. In Electron I was fighting frameless windows and CSS to fake it.

The rewrite deleted more than it added. All the Electron-side scaffolding I had accumulated (auto-updater config, the signing dance, transparent-window glitches) went away entirely. Less code to maintain, not more.

What I lost: one codebase for two platforms. I now maintain two native codebases. For a utility this size that's fine; for a document editor it wouldn't be.

Honest trade-off, not a prescription: if your app is genuinely a web app with a desktop shell, stay on Electron. If it's a native-feeling utility wearing an Electron costume, the rewrite pays for itself in download size, launch time, and fewer "why does this dropdown eat my RAM" complaints.

QuotaTray 2.0 (the native rebuild) is $24: https://payhip.com/b/o7RZ1 — includes the macOS Apple Silicon and Windows builds.

── more in #developer-tools 4 stories · sorted by recency
── more on @quotatray 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-replaced-my-137mb-…] indexed:0 read:1min 2026-10-23 · —