If your product is a web UI, the usual desktop story is Electron. You ship
a browser, double the memory footprint, and keep a Node toolchain around.
That model is microslop by construction: a thin app-shaped crust over a
rented runtime, spending your users' RAM to pad someone else's platform
metrics. Linux offers a leaner route. Keep the web UI, wrap it in the
system's WebKitGTK through a webview library, add a tray icon, and package
the result with the same PKGBUILD machinery Arch uses for everything else.
The outcome is one Go binary at ~15 MB, with no bundled browser and no CGO.
This is how it's built, taken from a real app: a Go single-binary inventory
tool with a Svelte UI. Everything below compiles and runs.β¦