AustriaGoblinmine/homelab-diagram
Browser editor for homelab network diagrams that knows switch ports, VLANs, servers and VMs. Describe your lab or let an AI do it, then fine-tune by drag and drop. C#/Blazor.
Featured achievements
The project's latest awards
#2 Repository of the week
#2 Repository of the week
#2 Repository of the day
🔌 Homelab Diagram Generator
Turn your homelab YAML inventory into a beautiful r/homelab-style network diagram.
homelab-diagram by Goblinmine renders a detailed network diagram from a YAML inventory file. It produces SVG and PNG output in the style seen on r/homelab, showing devices, switch ports, VLANs, cables and more. The layout is hand-placed in code, making it a starting point rather than a general-purpose tool.
✨ Highlights
- YAML-driven content: All data — VLANs, devices, switch ports, hardware, containers — lives in
inventory.yaml. - Hand-placed layout: Coordinates for every box, port and cable are hardcoded in
build.pyfor exact control. - Speed-indicating cables: Cable line width reflects negotiated link speed (10G / 2.5G / 1G / 100M), trunks drawn as white cable with dark core.
- VLAN visualization: Switch ports show VLANs with tall bars for untagged and short bars for tagged.
- Device cards: Each device shows name, type, model, IP, hostname and OS in folder-shaped cards.
- Server detail: Proxmox host with hardware, VMs/CTs, TrueNAS pools (disks, vdevs, usage) and DMZ containers.
- Redaction mode: By default replaces domain with
redacted.comand SSIDs with generic names for safe public sharing. - Claude Code co-authored: Built with AI assistance;
CLAUDE.mdincluded to help adapt it to your own lab.
💡 Why it matters
This is not a plug-and-play diagram generator — it is a starting point. The layout is hand-placed in build.py, so you will need to move coordinates around to fit your own network. That said, it captures exactly the details people love on r/homelab: link speeds as cable thickness, VLANs as port bars, and rich device cards.
If you want a diagram that reflects your real network down to the port level, and you are willing to tweak some coordinates, this repo gives you a solid foundation. The included CLAUDE.md even lets an AI agent interview you and adapt the diagram automatically.
#homelab #networkdiagram #Python #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
Roadmap to becoming an ASP.NET Core developer in 2026
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The future of .NET UI
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.