aiden0rchad/homelab-atlas
Tentang
Design polished homelab diagrams with real app logos. Self-hosted, Docker-ready, local-first, and no AI required.
Desain dan mediaPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +10
- dalam 1 bulan
- +14
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliHomelab Atlas
A self-hosted app for making homelab diagrams.
I posted a diagram of my homelab on Reddit and someone asked how they could make one too. That's where this project started. I wanted a way to add machines and apps, get the logos in, and update the diagram as things changed.
Atlas lays out your diagram automatically, with optional manual positioning and sizing when you want to adjust the composition. Add your servers, services, and network gear, then export a PNG or SVG for your docs or a post. The app runs locally and doesn't need an account or an LLM. An optional restricted collector can find Docker services for you to review before adding or linking anything.

Run it
You'll need Docker with Compose v2:
curl -fsSLO https://github.com/aiden0rchad/homelab-atlas/releases/download/v0.12.0/compose.release.yaml
docker compose -f compose.release.yaml up -d
Open http://localhost:8080. This uses the 0.12.0 image and only listens on the machine running Docker. Images are available for Linux AMD64 and ARM64.
Choose another install path: Unraid, Portainer, Dockge, or another Docker Compose stack manager, Docker run, source build, or native Go.
For access from another computer and updates, see the setup guide. The release page has the source ZIP, release Compose file, and checksums. The root compose.yaml builds from source and requires the complete repository; stack managers should use the released compose.release.yaml.
Making a diagram
Open File and start with Load example to see how it works, or Start empty for your own lab. Add devices, fill in whatever hardware details you want to show, and group the services running on each one. Visual logo pickers are searchable and work offline. Click a device icon or an existing service logo to replace it.
You can upload PNG, JPG, WebP, or SVG logos up to 2 MB, preview their contrast background, and reuse them across devices, services, and network nodes. SVG uploads are converted to PNG, and stored images are at most 512px. They stay in project JSON and work offline and in exports. The bundled catalog still includes 27 provider marks. Atlas starts with an automatic layout; Arrange in the canvas header lets you move or resize device cards. Export previews and downloads a PNG or SVG, with network details hidden by default and optional literal terms for custom names. Use File → Save project to download a JSON copy you can edit later.
Discover devices guides you through Choose → Find → Review for Docker apps, network devices, or a saved Docker JSON/Nmap XML scan. Nothing scans automatically, every result starts unchecked, and Add selected to diagram is one undoable change that preserves existing card positions. See the discovery guide.
The editor guide covers the controls, and the networking guide explains connections and VLANs.
Loading a shared project from the server
Optional. If you set ATLAS_PROJECT_FILE, the server offers that project file to every browser that opens the editor, so a diagram kept on the server (for example one you generate from a script) shows up without importing it by hand.
Put an Atlas project JSON file on the server, for example one saved with File → Save project.
Set
ATLAS_PROJECT_FILEto its absolute path. Atlas refuses to start if the path is relative, missing, not a regular file, or larger than 16 MiB. With Docker, mount the file read-only into the editor container:services: atlas: environment: ATLAS_PROJECT_FILE: /data/lab.atlas.json volumes: - ./lab.atlas.json:/data/lab.atlas.json:roatlasis the editor service incompose.release.yaml; the snippet shows only what to add to it.Open the editor. The file is read again on every request, and a browser loads it only when its version differs from the one it already loaded. If the browser already holds a diagram, Atlas asks before replacing it, keeps what is on screen at that moment (including an edit that was not autosaved yet) as a backup in that browser, and leaves everything unchanged if the backup or the save fails. File → Restore previous copy puts that backup back and keeps the diagram you had on screen as the new backup, so you can switch back and forth. A slow server is given up on after 5 seconds and never holds up the editor.
Who can read the file. GET /api/project has no login and ATLAS_API_TOKEN does not protect it, because the editor does not have a token when it starts. It answers any client that can reach the server with an allowed host name (ATLAS_ALLOWED_HOSTS) and the X-Atlas-Request: 1 header, which curl can send. Treat the file as readable by everyone who can open Atlas: keep passwords, tokens and other secrets out of it, and keep the server on localhost or a trusted network, or behind a reverse proxy that requires authentication. The endpoint serves only the configured file, never a path taken from the request, and is read-only.
A few things to know
- Save a JSON backup. Autosave lives in your browser, not the container. Clearing browser data, using private browsing, or opening Atlas at a different hostname or port can make your project appear missing. A PNG or SVG can't be imported as an editable project.
- Discovery is explicit. Atlas never scans automatically or polls Docker. Work starts only after Find devices or Find Docker apps, and imports always stop for review.
- Connections are logical relationships. They don't represent individual switch ports, and network cards stay in the automatic header even when you arrange device cards.
- There's no login system. Keep it on localhost or a trusted LAN. Don't expose it directly to the internet.
- Export filtering is intentionally narrow. It hides addresses, URLs, emails, and terms you list from SVG and PNG images. It does not change saved JSON or text baked into uploaded logos.
More detail is in the backup guide, privacy page, and troubleshooting guide.
Bugs and contributions
This is still an early version. If something breaks or a layout looks wrong, open an issue with a screenshot and steps to reproduce it. Remove private details from anything you attach.
PRs are welcome. CONTRIBUTING.md has the checks to run, and the development docs explain the code and logo catalog. Please report security problems privately using SECURITY.md.
If you'd like to support the project, you can buy me a coffee.
License
The code is MIT licensed. App and hardware logos belong to their respective owners and keep their original licenses. Attribution is in THIRD_PARTY_NOTICES.md.
Jelajahi proyek terkait
Memuat…