homelab-diagram

Goblinmine

Renders an r/homelab-style network diagram from a YAML inventory of your lab, outputting a large SVG or PNG. The script behind the author's own popular homelab diagram, written with Claude.

PythonCreated

What is Goblinmine/homelab-diagram?

homelab-diagram is the script behind a homelab network diagram. It reads a YAML file that describes the lab and produces a large SVG or PNG diagram in the style of the diagrams shared on r/homelab. The README notes that the script was written with Claude, and it includes a warning, marked as important, about how to use the output.

The diagram is only as accurate as the inventory file, so keep it up to date to reflect your real network.

It suits home-lab enthusiasts who want a readable diagram of their network, and developers who want a simple YAML-to-SVG example. The README also explains how the YAML inventory is structured and how to render the output.