
Why I Chose Eel Over Electron and PyQt for a Factory-Floor App
PyQt styled too poorly and Electron was too heavy for factory edge hardware, so the assembly hub's dashboard runs on Eel.
- Published
- February 23, 2026
- Author
- Hrushiekesh Reddy Kanjula
- Read time
- ~4 min
- Category
- engineering

I picked Eel for the assembly hub's dashboard. PyQt couldn't give me the look I needed, and Electron was too heavy for the factory hardware. The hardware is dedicated Intel NUC machines with limited storage and 8GB RAM. That RAM is shared between the OS, the MES application and the background telemetry schedulers.
I compared three frameworks: PyQt, Electron and Eel.
PyQt: right footprint, wrong styling
PyQt is powerful. Qt covers almost every GUI pattern: tables, tree views, charts, dialogs, dockable panels. The Python bindings are mature and the docs are good. If you want a traditional desktop tool, PyQt is the right choice.
The problem is styling. QStyleSheet gives reasonable control over colors and fonts. It doesn't give you CSS flexbox or CSS grid. It doesn't give you backdrop-filter: blur(), and its border-radius doesn't respond to viewport resizing. A dark glassmorphism card layout in PyQt means fighting the framework at every step.
Engineers spend 8 hours a day looking at placement data, defect heatmaps and machine telemetry. Visual clarity and modern layout are usability there, not vanity. PyQt's styling put a ceiling on that, and I wasn't willing to work under it.
Electron: right idea, too heavy
Electron solves the styling problem. It bundles Chromium and Node.js, so you get the full web stack as a desktop runtime. Every modern CSS pattern and every React component works.
The cost is size and memory. A minimal Electron app ships a ~150MB bundle. That is fine on a developer workstation. On a factory NUC with 8GB shared RAM, it is a real problem.
Electron also bundles Chromium whether or not the machine already has Chrome. A factory terminal running Windows 10 almost certainly does. Electron ships its own copy anyway, so you pay the full binary cost for a browser you already have.

Eel: use the Chrome that's already there
Eel doesn't bundle a browser. It starts a local Python HTTP server. Then it launches the machine's existing Chrome or Edge in app mode, which is a chromeless window with no address bar and no tabs. The "desktop app" is a Python process and a Chrome window talking over a localhost WebSocket.
The UI is plain HTML, CSS and JavaScript. Full flexbox, full CSS Grid, full backdrop-filter, full Canvas API. Glassmorphism cards are three lines of CSS. Charts are D3.js or Chart.js, built the same way as on the web.
On the Python side, a decorator exposes a function to the frontend:
@eel.expose
def get_machine_telemetry(machine_id: str) -> dict:
return db.query_latest_telemetry(machine_id)JavaScript then calls it:
const telemetry = await eel.get_machine_telemetry("SMT-01")();The double-parenthesis call looks odd, and you stop noticing it after an hour. Underneath, a WebSocket serializes the Python calls and return values as JSON. Our UI components ask the SQLite backend for data, and that is exactly the abstraction we need.
Footprint on the NUC
I measured on an Intel NUC i5 with 8GB RAM running Windows 10.
| Option | RAM | Binary | Cold start |
|---|---|---|---|
| Electron (minimal app) | ~280MB | ~200MB | 8-10 s |
| PyQt (equivalent functionality) | ~85MB | ~45MB | 2-3 s |
| Eel + Chrome app mode | ~180MB (Chrome window) | ~25MB (Python process) | 3-4 s |
PyQt has the best footprint and the wrong aesthetics. Eel's Chrome overhead is real, but it is shared with the Chrome instance engineers already use, so there is no second Chromium copy. Eel runs comfortably next to the telemetry scheduler and the database processes. Electron would have added memory pressure.
What Eel doesn't give you
Eel is not Electron. There is no built-in packaging. A single .exe from PyInstaller that bundles everything cleanly needs extra configuration. Auto-updates need external tooling. File access from the frontend goes through Python functions, not Node.js fs calls.
These limits are manageable here. IT deploys the MES, not end users. Updates happen during maintenance windows. Routing all file I/O through Python is a feature, because it centralizes access control and logging.

Eel also needs Chrome. If the deployment machine can't have Chrome installed, Eel won't work. In our environment Chrome is on every machine, but the dependency should be stated.
How I'd decide again
Don't ask which GUI framework is best. Ask what the deployment needs. For the assembly hub:
- Constrained edge hardware rules out Electron's memory footprint.
- Dense, modern data visualization rules out PyQt's styling ceiling.
- Chrome on every target machine makes Eel's dependency a non-issue.
- A Python backend with complex business logic fits Eel's Python-first model.
Eel is not the right tool for every desktop app. It is the right one for this one.

The dashboard runs in Eel today. It has a dark theme, glassmorphism component cards and real-time telemetry charts in a Chrome app window. The Python backend handles SQLite queries and machine polling.