jaypipes/ghw
Go HardWare discovery/inspection library observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 98
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 22
- age_days: 3386
- days_rel: 56
- days_push: 13
- n_releases_24m: 18
Adoption not part of the score
1873 stars · 223 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ghw is a Go library for discovering and inspecting host hardware, covering CPU, memory, block storage, network, PCI, GPU, topology, BIOS, and chassis information. It works without root privileges and reports static hardware capacity and capabilities, not runtime usage metrics.
Use cases
- discover cpu and memory info in go
- inspect hardware without root privileges
- get pci and gpu device information
- read numa topology and cache hierarchy
- enumerate block storage devices
- detect hardware capabilities on linux and windows
When to choose
- you need static hardware capacity info in a Go program
- you cannot rely on root privileges or shellouts to dmidecode
- you want consistent, documented APIs across hardware domains
When to avoid
- you need real-time usage metrics like CPU load or disk I/O - use a monitoring tool like Prometheus
- you need full macOS support - only partial support exists
Facets
library · maturity active
developer-tools sdk developer-tools hardware operating-systems windows go hardware-discovery system-inspection go-library no-root-required cpu memory block-storage pci gpu network linux macos
1 source
- readme: https://github.com/jaypipes/ghw · fetched 2026-08-28 · f97dd4cf83a3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jaypipes/ghw | main | 96 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem