# pbatard/libwdi

Windows Driver Installer library for USB devices

Repository: https://github.com/pbatard/libwdi
Canonical: https://ross.abutalabs.com/products/libwdi
Language: C
License: GPL-3.0
License Family: copyleft
Topics: usb-devices, c, usb, drivers, winusb, libusb-win32, libusbk, libusb, wcid, driver-installation, windows
Last push: 2025-07-17T15:49:13+00:00

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

## Adoption (not part of the score)
Stars 2327, forks 524 (observed 2026-08-28T04:06:37.525503+00:00)

## What it is
libwdi is a Windows Driver Installer library for USB devices that automates INF creation, catalog signing, driver file extraction, and driver installation (including UAC elevation). It embeds WinUSB, libusb0.sys, libusbK.sys, or USB CDC drivers in a single library supporting Windows 7 through Windows 11.

## Use cases
- automatically install WinUSB driver for a USB device on Windows
- generate and sign an INF file for a USB device
- embed libusb or WinUSB drivers into an application installer
- install USB serial CDC drivers programmatically
- create a driver installer for ARM64 or x64 USB devices

## When to choose
- you need to make a custom USB device usable on Windows without manual driver installation
- you're building a tool like Zadig that installs WinUSB/libusb drivers
- you want automated INF generation and catalog signing for USB drivers

## When to avoid
- you target non-Windows platforms (Linux, macOS)
- you need WHQL-certified driver distribution rather than self-signed catalogs
- your device uses a standard class driver already bundled with Windows

## Facets
- artifact type: library
- maturity: active
- function: sdk, developer-tools
- domain: developer-tools, windows, hardware
- platform: windows, c, cpp
- tags: usb, driver-installation, winusb, libusb, inf-generation, wdi

## Member repositories
- pbatard/libwdi (main) score 37

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.525503+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-30T02:38:14.436114+00:00, confidence not recorded.
  - readme: https://github.com/pbatard/libwdi (fetched 2026-08-28T04:06:37.525503+00:00, sha 05a4902c62f0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
