go-winkit

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2026 License: Apache-2.0

README

go-winkit

Go packages for building Windows environments from code: get install media, turn it into something bootable, and talk to the machine that comes up. Windows tooling mostly assumes a human clicking through an installer; winkit is for when the whole path has to run unattended.

Each package works on its own. uupdump and mctcatalog download Windows builds (from UUP dump and the Microsoft Update Catalog respectively). isokit builds and inspects bootable ISOs. hcsvm boots Hyper-V VMs, including from inside WinPE. gosshd is a small SSH server meant to be cross-compiled into guests that ship without OpenSSH, WinPE being the main offender.

winkit is the Windows layer behind devcell, and the API follows what devcell needs. There is no v1 yet, so pin a version if you depend on it.

go get github.com/devcell-sh/go-winkit

Directories

Path Synopsis
cmd
winkit command
Command winkit is the host-side CLI over the go-winkit packages: fetch Windows install media, build bootable and WinPE ISOs, generate and validate autounattend answer files, patch WIMs, and read guest diagnostics.
Command winkit is the host-side CLI over the go-winkit packages: fetch Windows install media, build bootable and WinPE ISOs, generate and validate autounattend answer files, patch WIMs, and read guest diagnostics.
Package gosshd is an SSH server for WinPE guests.
Package gosshd is an SSH server for WinPE guests.
cmd/gosshd command
Command gosshd is the SSH server staged into a WinPE guest.
Command gosshd is the SSH server staged into a WinPE guest.
Package hcsvm builds Host Compute System documents for the nested-VM smoke test.
Package hcsvm builds Host Compute System documents for the nested-VM smoke test.
hcsboot command
internal
cli
Package cli implements the winkit command tree.
Package cli implements the winkit command tree.
Package templates holds the guest PowerShell scripts shipped by winkit.
Package templates holds the guest PowerShell scripts shipped by winkit.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL