kardianos/service
Run go programs as a service on major platforms. observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 91
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4258
- days_rel: n/a
- days_push: 58
- n_releases_24m: 0
Adoption not part of the score
4837 stars · 727 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Go library that lets programs run as system services (daemons) across Windows, Linux (systemd, Upstart, SysV), and macOS (Launchd) with a single unified API. It handles install/uninstall and start/stop operations and can detect whether the program was launched from a terminal or a service manager.
Use cases
- run a go program as a systemd service
- install my app as a windows service
- create a daemon from a go binary on macos
- cross-platform service management for a go application
- detect if my program is running under a service manager
- uninstall and stop a background service from go code
When to choose
- you need one Go codebase to run as a native service on Windows, Linux, and macOS
- you want install/uninstall/start/stop lifecycle control from within the program itself
- you need to detect interactive vs service-manager invocation
When to avoid
- you only target Linux and can call systemd unit files directly
- you need service dependencies on Linux or Launchd, which are not implemented
- you are not writing in Go
Facets
library · maturity stable
developer-tools cli configuration-management developer-tools cross-platform operating-systems windows go cross-platform daemon systemd launchd windows-service sysv upstart service-wrapper command-line linux macos
1 source
- readme: https://github.com/kardianos/service · fetched 2026-08-28 · d9e7582607fe
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kardianos/service | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="kardianos/service")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem