Hugo source for kms.viktorbarzin.me
When the installed product can't KMS-activate as-is, offer to fix it after showing the consequences (default No; non-interactive needs explicit env consent): - Windows non-VL edition (Home/retail) -> changepk.exe /ProductKey <target GVLK> (default Pro, $env:KMS_EDITION override). Warns: reboot required, one-way, re-run after reboot to activate. - No VL Office/Project/Visio installed -> slim ODT setup.exe /configure to the target VL product (default ProPlus/ProjectPro/VisioPro 2024, $env:KMS_OFFICE_PRODUCT override). Warns: ~3 GB download, closes Office apps. setup-kms.ps1 stays minimal: a non-VL edition is pointed at the bootstrap one-liner (which can upgrade) rather than duplicating changepk. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| content | ||
| data | ||
| layouts | ||
| static | ||
| .dockerignore | ||
| .gitignore | ||
| .woodpecker.yml | ||
| Dockerfile | ||
| hugo.toml | ||
| nginx.conf | ||
| README.md | ||
kms-website
Source for kms.viktorbarzin.me — a single-page reference for activating
Microsoft Volume License products against the home-lab KMS host (kms.viktorbarzin.lan / kms.viktorbarzin.me).
Stack
- Hugo static site (one custom layout, single
_index) - YAML data file at
data/products.yamlis the source of truth for all GVLK tables - nginx:alpine Docker image (multi-stage build via Hugo)
- Woodpecker CI builds + pushes to
forgejo.viktorbarzin.me/viktor/kms-websiteand rolls thekms-web-pageDeployment in thekmsnamespace - Terraform in
infra/stacks/kmsconsumes the image (var.image_tag)
Local dev
hugo server -D
# → http://localhost:1313
Update GVLKs
Edit data/products.yaml. Push. CI rebuilds and rolls.
Sources of truth for keys: