■ HOMELAB  //  BUILT AND RUN AT HOME

JOHN'S HOMELAB

A self-hosted Linux platform I build, secure and run at home: a web platform for my friends, media and game servers, a radio station, a weather channel and local AI, spread across two machines.

B.S. Cybersecurity  ▪  CompTIA Security+

2MACHINES
25CONTAINERS
28 TBACROSS 12 DRIVES
500+WEB RELEASES

> THE MACHINES

THE SERVER

Runs everything, around the clock.

CPU
AMD Ryzen 7 5800X3D, 8 cores
MEMORY
64 GB
GPU
NVIDIA RTX 4070 Ti, 12 GB
STORAGE
12 drives, about 28 TB (NVMe, SATA SSD and hard drives)
OS
Debian with OpenMediaVault

THE DESKTOP

Gaming, game development and heavy GPU work.

CPU
Intel Core Ultra 9 285, 24 cores
MEMORY
32 GB DDR5
GPU
NVIDIA RTX 5090, 32 GB
DISPLAY
4K 240 Hz OLED
OS
Ubuntu Linux

> WHAT RUNS ON IT

THE VAULT TERMINAL

A full-stack web platform for my friends (Python / Flask, SQLite): accounts, file sharing, a media library, browser games, chat rooms and an admin panel where every feature has its own switches. Over 500 numbered releases.

MEDIA

A Jellyfin media server with NVIDIA hardware transcoding, plus a TV guide on the site that plays the channels right in the browser.

RADIO STATION

A 24/7 internet radio station whose DJ breaks are voiced by text-to-speech models running locally on the GPU.

WEATHER CHANNEL

A retro 1990s-style weather broadcast, rendered live and streamed to the site and to a CRT television, with the local forecast read aloud.

GAME SERVERS

Two Minecraft servers with a live 3D web map, and a Valheim server for friends.

OFFLINE LIBRARY AND AI

An offline knowledge library with citation-backed AI search (RAG) over 920,000 text chunks, local language models and a vector database.

HOME NETWORK TOOLS

Network-wide ad blocking (Pi-hole), a self-hosted password manager, uptime monitoring (Uptime Kuma), an e-book library and a container log viewer.

GAME STREAMING

Low-latency game streaming to phones and the TV (Sunshine and Moonlight), so the desktop's GPU can play anywhere in the house.

> SECURITY AND OPERATIONS

  • The website reaches the internet through a Cloudflare Tunnel instead of port forwarding.
  • Remote administration runs over a private Tailscale (WireGuard) mesh.
  • A Content Security Policy on every page, loosened page by page only where a feature needs it.
  • A guard hook blocks automation, AI agents included, from destructive commands (wiping drives, the database or backups, rebooting, touching accounts), backed by more than 100 automated test cases.
  • Nightly backups and drive mirroring, scheduled housekeeping and automated health checks.
  • Uptime monitoring, plus an incident log on the site that records errors from visitors' browsers.
  • Automated test suites, including real-browser tests, run before releases.

> WHAT BROKE AND HOW I FIXED IT

Real incidents, each one written up as a runbook afterwards.

  1. CREDENTIAL EXPOSURE

    Traced how secrets were leaking, scrubbed more than 37 of them, and re-architected how input is routed so it cannot happen the same way again.

  2. DATABASE CORRUPTION

    The live database picked up page-level corruption. I recovered it with a written recovery runbook and kept a playbook ready in case it ever comes back.

  3. "UNABLE TO OPEN DATABASE FILE"

    It looked like corruption, but it was file-descriptor exhaustion: database connections were never being closed. Fixed the connection handling at the source.

  4. FROZEN ON COLD BOOT

    Web workers deadlocked when they were forked after background threads had already started. Moved the background jobs into one host process that starts exactly once.

  5. A GPU FALLING OFF THE BUS

    The desktop's RTX 5090 kept dropping off the PCIe bus. I logged every drop, ruled causes in and out, turned off the overclock and limited what runs on the card while I narrow down the cause.

> HOW IT GETS BUILT

I design the systems, decide what ships and run them day to day. Much of the code is written by AI coding agents (Claude Code) working under my direction, inside the guardrails, tests and review steps I set up. Every release is numbered and logged in a changelog.