# getlantern/systray

a cross platfrom Go library to place an icon and menu in the notification area

Repository: https://github.com/getlantern/systray
Canonical: https://ross.abutalabs.com/products/systray
Language: Go
License: Apache-2.0
License Family: permissive
Last push: 2024-07-03T04:41:06+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4312, "days_push": 791, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3727, forks 534 (observed 2026-08-28T04:08:15.669836+00:00)

## What it is
A cross-platform Go library for adding an icon and menu to the system tray/notification area on Windows, macOS, and Linux. It provides a simple API for creating tray menus with checkable and disableable items, callable from any goroutine.

## Use cases
- add a system tray icon to a Go application
- create a menu bar app on macOS
- show a notification area icon with a menu on Windows
- build a background Go app with tray controls
- add a quit menu item to a tray application
- integrate a tray icon alongside a webview UI

## When to choose
- you need a native system tray icon and menu in a Go app
- you want one library that works on Windows, macOS, and Linux
- you need thread-safe tray APIs callable from any goroutine

## When to avoid
- you need full GUI windows, not just a tray icon
- you want to avoid cgo and its build dependencies
- you target platforms outside Windows/macOS/Linux

## Facets
- artifact type: library
- maturity: active
- function: gui, ui-components, developer-tools
- domain: desktop-applications, cross-platform, developer-tools
- platform: go, cross-platform, windows
- tags: system-tray, notification-area, menu-bar, cgo, desktop-integration, macos, linux, desktop

## Member repositories
- getlantern/systray (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:15.669836+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:29:15.000208+00:00, confidence not recorded.
  - readme: https://github.com/getlantern/systray (fetched 2026-08-28T04:08:15.669836+00:00, sha 45ab1ee23c73)
- Data as of 2026-08-30T08:39:29.467469+00:00.
