RepositoryC#ATAustria
Goblinmine

Goblinmine/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.

2.2kstars
187forks
0issues
0views

Featured achievements

The project's latest awards

2
TINIX TRENDING·Country: AT

#2 Repository of the week

2
TINIX TRENDING·Country: AT

#2 Repository of the week

2
TINIX TRENDING·Country: AT

#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.py for 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.com and SSIDs with generic names for safe public sharing.
  • Claude Code co-authored: Built with AI assistance; CLAUDE.md included 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.

Repository
MoienTajik/AspNetCore-Developer-Roadmap

Roadmap to becoming an ASP.NET Core developer in 2026

19.7k
Jan 29, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryC#
jellyfin/jellyfin

The Free Software Media System - Server Backend & API

60.0k
Dec 1, 2026
RepositoryC#
KnifeLemon/Filee

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.

33.3k
Dec 2, 2026
RepositoryC#
AvaloniaUI/Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The future of .NET UI

31.9k
Nov 27, 2026
RepositoryC#
BeyondDimension/SteamTools

🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。

27.9k
Dec 1, 2026
RepositoryC#
bitwarden/server

Bitwarden infrastructure/backend (API, database, Docker, etc).

20.8k
Dec 1, 2026
RepositoryC#
ardalis/CleanArchitecture

Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10

18.6k
Dec 1, 2026
RepositoryC#
OpenRA/OpenRA

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.

17.9k
Nov 22, 2026