Menu

1 / 2

We Built a Pure Go System Tray Library Because Every Alternative Requires CGO, GoGPU May 2026

DEV Community·Andrey Kolkov·6 months ago
#QsDf8Fc1
#linux#go#opensource#systray#tray
Reading 0:00
15s threshold

"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?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.