"Love the no CGO — but quickly realized there's no code?"
— @cmilesio, gogpu/systray#1
Fair point. We published the repo with just a README and a dream. Three days later: 5,800+ lines of Pure Go , three platforms, 74 tests, 84% coverage, and a working system tray icon on Windows.
Today we're releasing gogpu/systray v0.1.0 — the first Pure Go system tray library that works on Windows, macOS, and Linux without a C compiler.
The Problem
Every Go system tray library requires CGO:
Library Stars CGO? The Catch
getlantern/systray 3.3K Yes (macOS, Linux) AppIndicator + GTK3 on Linux, Cocoa via CGO on macOS
fyne-io/systray fork Yes (macOS, Linux) Same CGO deps, fork of getlantern
energye/systray — Yes Walk/LCL dependency
CGO means:
Need a C compiler installed ( apt install gcc , Xcode, MinGW)
Cross-compilation breaks ( GOOS=linux from macOS?…