digitalocean/go-libvirt
Package libvirt provides a pure Go interface for interacting with Libvirt. Apache 2.0 Licensed. observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- 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: 3758
- days_rel: n/a
- days_push: 19
- n_releases_24m: 0
Adoption not part of the score
1099 stars · 143 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A pure Go client library for interacting with libvirt via its RPC interface, without relying on C bindings. It uses code generators to produce bindings for specific libvirt versions and encodes RPC packets using the XDR standard.
Use cases
- manage virtual machines from a Go application
- connect to a remote libvirt daemon over RPC
- automate VM lifecycle operations like start, stop, and snapshot
- build a Go-based cloud or VM provisioning tool
- interact with KVM/QEMU hypervisors programmatically
- replace cgo-based libvirt bindings with a pure Go client
When to choose
- you are writing Go software that manages libvirt-managed virtual machines
- you want to avoid cgo and C library dependencies
- you need remote access to a libvirt daemon over its RPC protocol
- you can pin or regenerate bindings for a specific libvirt version
When to avoid
- you need bindings for a libvirt version newer than the generated code and cannot run the code generators
- your project is not in Go
- you need higher-level cloud orchestration rather than direct libvirt RPC access
Facets
library · maturity active
rpc sdk serialization infrastructure-as-code developer-tools cloud-computing go cross-platform libvirt virtualization xdr code-generation hypervisor pure-go linux
1 source
- readme: https://github.com/digitalocean/go-libvirt · fetched 2026-08-28 · 652f747e8c83
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| digitalocean/go-libvirt | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="digitalocean/go-libvirt")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem