readme summary
Get Markdown documentation of how your homelab works, kept in your own private repository. Collect screened facts and selected config files from Linux, macOS and Windows hosts over SSH, then use fill to give your own agent a brief for the human parts: network, services, backups and runbooks, with source links. One generic template covers every machine; add as many hosts as you need. Python 3.11+; no runtime Python dependencies.
The kit generates a REBUILD.md host index and leaves unknown facts as TODOs. It calls no model, uploads nothing, phones home nowhere and never runs on its own. Collection uses only the local host or SSH targets you explicitly configure. An optional check --privacy uses your installed gh CLI to look up repository visibility when you request it.
what it does
homelab-kit collects screened facts and selected config files from Linux, macOS and Windows hosts over SSH, then fill gives your own agent a brief for the human parts: network, services, backups and runbooks. It generates a REBUILD.md host index and leaves unknown facts as TODOs. It calls no model, uploads nothing and never runs on its own.
why it helps run agents
Agents on home servers work better when the lab is written down. This keeps that documentation current and in a repo you control.
requirements
- Python 3.11+, no runtime dependencies
- SSH access to the hosts you document
- uv (optional, recommended on macOS)
install
From a checkout, create a separate private docs directory and document the local machine:
uv run --no-project --python 3.12 -- python -m homelab_kit init ../my-lab
uv run --no-project --python 3.12 -- python -m homelab_kit --repo ../my-lab add-host example-control --local
uv run --no-project --python 3.12 -- python -m homelab_kit --repo ../my-lab collect --dry-run
uv run --no-project --python 3.12 -- python -m homelab_kit --repo ../my-lab collect
uv run --no-project --python 3.12 -- python -m homelab_kit --repo ../my-lab fill
uv run --no-project --python 3.12 -- python -m homelab_kit --repo ../my-lab check
Add remote machines with add-host NAME --ssh YOUR-SSH-ALIAS after the SSH prerequisites in its README. On Linux with Python 3.11+, python3 -m homelab_kit replaces the uv prefix.
similar projects
| project | how it compares |
|---|---|
| sugarfunk/Homelab-Documentation-Generator | Aims to scan self-hosted infrastructure and generate always-current documentation. Similar goal; homelab-kit keeps output in plain Markdown in your own private repo with no model calls. |
| netbox-community/netbox | A full network source-of-truth application with a database and web UI. Much heavier; suits structured inventory more than readable runbooks. |
| ansible/ansible | Agentless SSH automation that can gather host facts. A general automation platform; homelab-kit is a narrow, read-only documentation tool. |