homelab

Case study

Tools that fit how I work, without a bigger attack surface.

Most of my gripes with existing tools came down to cost, missing features or how they looked. So I used Claude Code to build tools that fit how I work, instead of changing how I work to fit the tools. The rule the whole way was that none of it could make my homelab easier to break into than it already was.

0inbound ports at home
13risks tracked
2rated high
10apps built in 58 days

How it started

It started with databases

Every app I ran kept its own database in a container, and looking inside one meant adding a connection string by hand. I wanted something that found them and connected on its own. That became Lanthorn, and it grew from there.

The one I use most came from a smaller moment. I wanted to keep Claude Code working from my phone, often while holding my infant. If the laptop died or got closed, everything stopped until I got back to it. Orbital runs each session in its own container on my server, so I can steer it from anywhere and the agent never gets my whole machine.

Threat model

What I’m protecting, and the rules

What’s at stake is my data, my home network and the credentials that reach my cloud accounts. The threats I plan for are internet scanning, a breached vendor, a bad dependency or build step, and an agent following an instruction it shouldn’t. Every new tool, mine or someone else’s, has to keep to these four rules.

Data stays on my hardware

Where an outside service can’t be avoided, like the model behind Claude, it gets only what the job needs.

No new way in

Nothing at home listens on the internet. The tunnel dials out, and single sign-on sits in front of every app.

Least access that works

Read-only where reading is enough, tokens scoped to one job, and cloud keys that expire.

Easy to rebuild

One container, one volume and one compose file per app. If something is hard to rebuild, I fix that first.

Build, run or pay for it

What I didn’t build

Building was never the default. Where a tool already does the job, has good support and keeps getting better, I run it as is. Beszel, Arcane and Scanopy are good examples. I built only where nothing fit.

Anything whose failure would stop me hearing about a failure, I pay someone else to run. That’s why the edge is Pangolin Cloud and not self-hosted Pangolin. I don’t want to maintain that infrastructure, the price is reasonable, and disaster recovery and uptime are their job. I could run it in the same AWS VPC as my identity provider, but I didn’t want to manage something that critical myself. Alerts go to Slack and email goes through Resend for the same reason.

NeedWhat I useRun byWhy I kept it
Public edge, TLS, SSOPangolin CloudPaid serviceToo critical to run myself. No upkeep, a fair price, and disaster recovery is their job. The tunnel dials out, so nothing at home is open.
AlertsSlackPaid serviceIf the lab is down, the alert still has to get out.
EmailResendPaid serviceSame reason. I don’t want to run mail delivery for alerts that have to arrive.
The modelClaudePaid serviceI can’t self-host it. Each session sees one repo.
Source control, CIGitHubPaid serviceMature, and the security checks run there.
Issue trackingLinearPaid serviceLow sensitivity. Orbital polls it from inside, so there are no webhooks.
Identity providerAuthentikMe, in AWSToo central to hand over, and not something to write myself.
Container managementArcaneMe, at homeGreat features and active support. My apps build on its API.
Server monitoringBeszelMe, at homeDoes the job well and keeps improving.
Network discoveryScanopyMe, at homeDoes the job well and keeps improving.
Storage and backupsUnraidMe, at homeMature, and it’s where the backups live.
Uptime monitoringVigilBuiltI tried Uptime Kuma and Peekaping. Both needed every monitor added by hand, and neither matched the rest. Vigil’s alerts still go out through Slack and Resend.
Everything elseNine more appsBuiltWhere nothing fit how I work. Each one is below.

Architecture

How it fits together

Two machines at home and a tunnel. Every connection across the edge of the home network is opened from the inside. Monitoring runs on the NAS, a different machine from the apps it watches, so it can still report when the server goes down.

The lab in one picture Visitors reach Pangolin Cloud over HTTPS and sign in. The home network opens an outbound tunnel to Pangolin, so nothing comes in uninvited. The HP server runs nine of the apps under Arcane; the Unraid NAS runs Vigil and holds the backups. Orbital gets short-lived AWS keys through IAM Identity Center and Authentik. Visitors family, friends, me Pangolin Cloud TLS and single sign-on in front of every app AWS short-lived keys via SSO Home · no inbound ports HP server Arcane · Docker · Newt nine apps, one container each NAS Vigil watches the server from outside it + every backup HTTPS tunnel out Orbital

The apps

Where each app came from

Mostly missing features, sometimes cost or how a tool looked, and in a few cases not wanting my data somewhere else. Each one runs as a single container if you want to try it.

  1. LanthornA database console for the homelab.

    NeededSomething that finds every database container and connects on its own, instead of me adding a connection string for each one.

  2. AtriumOne page with every service behind Pangolin.

    NeededA start page that builds itself from what's already in Pangolin, so I never register a tile by hand.

  3. DebriefMeeting transcripts with no bot in the call.

    NeededMeeting transcripts and summaries without a subscription or a bot in the call, with the recordings on my own server and matched to my calendar.

  4. OrbitalClaude Code sessions on my own hardware.

    NeededClaude Code sessions I can run from my phone, each in its own container, that keep going when my laptop is closed.

  5. Pangolin Traffic ViewerWho is knocking, and from where.

    NeededAn easy way to watch Pangolin traffic, check each site is locked down, and see where geo-location restrictions are needed.

  6. HelmA light control plane for the servers.

    NeededServer chores and charts for things like disk and RAM use, without OliveTin's UI or Webmin's complexity, and with the implementation risk owned by me.

  7. SagaPaste and file sharing between my own devices.

    NeededQuick sharing between my own machines with no ad-supported site or cloud upload in the middle, and a CLI for pushing scripts and files onto a new machine.

  8. WharfOne index for every container registry.

    NeededOne place to manage and keep an eye on image builds across every project I was working on.

  9. CofferSecrets for a small team.

    NeededSecrets on my own server with proper fields, without forcing them into a password manager or running an enterprise tool for simple needs.

  10. VigilUptime monitoring that finds what to watch.

    NeededMonitors that set themselves up from what Pangolin and Arcane already know, one alert per outage, and a UI that matches everything else.

Building with Claude

The agent gets treated like a new vendor

Claude Code made ten tools practical for one person. It didn’t change who reviews, merges, patches and owns them. An agent with access to my repos and my lab is a new risk in its own right. It’s capable and sometimes confidently wrong, so I hold it to the same scrutiny as any outside service with commit access.

Me

Direction and judgment

  • Pick the problem worth solving
  • Write the issue and the acceptance bar
  • Set conventions: stack, theme, security rules
  • Read the diff, try the build, merge or send it back
  • Hold the keys: tokens, master keys, AWS roles
Claude Code

Building

  • Design options, then the code
  • Tests, including fakes of Pangolin and Arcane
  • Docs, READMEs and the docs sites
  • Screenshots from demo data
  • Commits, pull requests, fixes from review
Automation

Checking and shipping

  • Type checks, tests and builds in Actions
  • Socket, Semgrep, DryRun, GitGuardian, Trivy
  • Multi-arch images to GHCR
  • Arcane deploys, Vigil watches
  • Alerts when something breaks

What limits the agent

Its own container

Orbital runs each session in a fresh container with a GitHub token scoped to the repo. Model and MCP credentials arrive as files only that session can read.

No path around review

Agents push branches and open pull requests. App code reaches main only when I merge it.

Five security tools

Socket, Semgrep, DryRun, GitGuardian and Trivy look for different things on every change, so my review isn’t the only check.

Short-lived cloud access

Sessions get AWS role keys from IAM Identity Center that expire. My own sign-in never reaches a session.

Tests it has to keep passing

Pure logic, such as Vigil’s state machine, is tested directly, and end-to-end tests run against fake servers.

Demo data only

Screenshots come from seeded demo data, never the live lab. I added this rule after real details leaked; see below.

Conventions

The same decisions in every app

The agent works fastest when it doesn’t have to choose, and the same choices everywhere make ten apps easier to review. The repos with a CLAUDE.md spell these out for each session.

One stack

SvelteKit, Svelte 5 and Tailwind 4 on Node 24. Helm (Python standard library), Traffic Viewer and Debrief (Postgres and Python workers) are the exceptions.

No runtime dependencies

node:sqlite, node:crypto, node:http. ECR signing, X.509 and SMTP are written by hand and tested against openssl and ssh-keygen.

One way to keep secrets

AES-256-GCM under a master key, with the row's id as associated data. Stored credentials are never sent back to the browser.

One look

A shared design system with light and dark themes, a ⌘K palette and layouts that work on a phone. Each app changes only its hue.

One way to run

The container drops root and keeps everything in one volume. Default ports go up by ten: Lanthorn 3030, Saga 3040, Orbital 3050, Wharf 3060, Coffer 3070, Vigil 3080.

Same roles everywhere

Admin, member and viewer, checked in the request hook and again in every handler. OIDC or proxy headers where the app supports them.

What it cost me

I’m the maintainer now

Claude made the building cheap, but I own everything it built. I patch ten apps, nobody else is on call, and a few times I let speed win over review:

Screenshots leaked real details

READMEs in seven repos showed internal addresses, real account names and once a generated private key. They’re replaced with demo-data shots, but the old images are still in git history.

Merges beat their fixes

Three pull requests merged before their leak fixes landed. A median of 59 minutes from open to merge is quick for one reviewer.

This site skipped pull requests

It went straight to main with my approval. It’s static, but it’s the one repo outside the process above.

Open risks, in the order I’m fixing them

  1. Agents reading untrusted text (high). Issue text or a web page could steer a session that holds a GitHub token and AWS keys. Next: an egress allowlist for session containers, and read-only tokens with no AWS role unless the repo needs one.
  2. The build pipeline (high). Actions are pinned by tag, the self-hosted runner is long-lived and images aren’t signed. Next: pin by SHA, an ephemeral runner, cosign and an SBOM.
  3. The Docker socket is root (medium). Orbital, Wharf and Lanthorn use it. Next: a read-only socket proxy, and rootless Docker for Orbital sessions.
  4. Local logins without SSO (medium). Five apps rely on their own passwords behind Pangolin. Next: OIDC through Authentik, starting with Coffer.
  5. Keys and backups (medium). Master keys travel with volume backups, and there’s no restore runbook. Next: keys kept apart, an encrypted backup share and a restore drill.

Side note

What the repos show

Commits on each repo's main branch as of 5 December 2026, 71% of them crediting Claude. That share is a floor: squash merges and early commits often don't carry the co-author trailer.

Claude co-author trailerother commits
Orbital: 145 commits, 95 with a Claude trailer Orbital 145 Debrief: 104 commits, 64 with a Claude trailer Debrief 104 Lanthorn: 67 commits, 58 with a Claude trailer Lanthorn 67 Atrium: 24 commits, 14 with a Claude trailer Atrium 24 Coffer: 19 commits, 17 with a Claude trailer Coffer 19 Saga: 18 commits, 16 with a Claude trailer Saga 18 This site: 12 commits, 11 with a Claude trailer This site 12 Vigil: 10 commits, 6 with a Claude trailer Vigil 10 Traffic Viewer: 9 commits, 6 with a Claude trailer Traffic Viewer 9 Wharf: 9 commits, 7 with a Claude trailer Wharf 9 Helm: 7 commits, 5 with a Claude trailer Helm 7
Show as a table
RepoFirst commitCommitsWith a Claude trailerPRs merged
Lanthorn2026-10-0867582 of 2
Atrium2026-10-15241411 of 12
Debrief2026-10-221046439 of 40
Orbital2026-10-241459540 of 42
Traffic Viewer2026-10-28962 of 4
Helm2026-11-02751 of 2
Saga2026-11-1618161 of 2
Wharf2026-11-20971 of 1
Coffer2026-11-2519171 of 2
Vigil2026-12-041063 of 3
This site2026-12-0512110 of 0

When each repo started

Lanthorn: first commit 2026-10-08Lanthorn Atrium: first commit 2026-10-15Atrium Debrief: first commit 2026-10-22Debrief Orbital: first commit 2026-10-24Orbital Traffic Viewer: first commit 2026-10-28Traffic Viewer Helm: first commit 2026-11-02Helm Saga: first commit 2026-11-16Saga Wharf: first commit 2026-11-20Wharf Coffer: first commit 2026-11-25Coffer Vigil: first commit 2026-12-04Vigil This site: first commit 2026-12-05This site OctNovDec

If you’re weighing this up

When I’d build, and when I’d buy

  1. Pay for anything that tells you something broke. The edge, alerts and email. If it fails with the rest of your lab, you won’t hear about it.
  2. Run good open source as it is. If a tool does the job and has active support, integrate with it rather than replace it.
  3. Build when the gap is specific to you. Missing features, a price that doesn’t fit, or data you don’t want elsewhere. Those are the cases where a small tool pays off.
  4. Count the upkeep before you start. The agent makes the first version cheap. Patching it for years is still on you.
  5. Hold the agent to vendor rules. Its own container, a scoped token, expiring cloud keys, and a human who merges.
  6. Check everything that ships. Screenshots, docs and logos are outputs too. Most of my mistakes were in those.