taylorhbuilds.
repos / homelab and local ai

homelab-kit

Document your homelab: collects facts from your machines over SSH into plain docs you keep in your own private git repo.

group
homelab and local ai
language
Python
licence
MIT
updated
install
pending
github
TayHCode/homelab-kit ↗

readme summary

from the source repository; its own licence applies. up to two introductory paragraphs. sensitive-shaped strings are marked [removed].

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

condensed from the source readme. follow it for full, current instructions.

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

similar open-source projects on github
projecthow it compares
sugarfunk/Homelab-Documentation-GeneratorAims 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/netboxA full network source-of-truth application with a database and web UI. Much heavier; suits structured inventory more than readable runbooks.
ansible/ansibleAgentless SSH automation that can gather host facts. A general automation platform; homelab-kit is a narrow, read-only documentation tool.

based on each public repository, reviewed 2026-10-13. not a ranking.

related docs