Infrastructure · automation · security · agent tooling
I build and run a self-hosted homelab the way a small company would: virtualisation, identity, networking, storage, media services and the tooling that glues them together. Most of my code exists because something in that stack needed to be automated, measured or made recoverable.
Homelab platform. A Proxmox VE host running media, storage and service VMs with real PCIe passthrough for a dedicated GPU-sharing workflow — one card handed between a services VM and a gaming VM through a serialised, rollback-safe procedure rather than by hand. Identity through Authentik, mesh networking through NetBird, Cloudflare for ingress, and everything documented as it changes in a self-hosted Wiki.js.
Tooling that removes a manual step. A GPU scheduler in Go that leases VRAM to cooperating clients with a priority queue and CPU fallback. A handoff controller with an exclusive lock, persisted intent, reconciliation after interruption and rollback to exact prior state. Steam Deck utilities for input overlays and rotation. Small CLIs where a shell pipeline would have become folklore.
Agentic engineering. Running local models on the hardware I already own, wiring agent harnesses to MCP servers and shared memory, and writing skills and system prompts that make small models behave like agents instead of chatbots.
| Area | What that means in practice |
|---|---|
| Virtualisation | Proxmox VE and QEMU/KVM: VM/LXC lifecycle, PCIe and GPU passthrough with IOMMU groups and VFIO, virtio devices, cloud-init, snapshots, backup/restore, thin-pool capacity and thin-provisioning risk |
| Linux systems | Debian, AlmaLinux, Fedora, CachyOS, SteamOS: systemd units and drop-ins, udev/evdev, thermal and memory-pressure triage, LVM, NFS exports, /proc and sysfs debugging, graceful-shutdown semantics |
| Configuration management | Nix flakes with home-manager across multiple hosts and profiles, out-of-store symlink patterns, per-project toolchains with mise, one dotfiles repo serving desktop, server and handheld |
| Containers | Rootless Podman with Quadlets, Docker Compose stacks, container networking and volume ownership, moving services between orchestrators without downtime surprises |
| Go | Services and CLIs: lease/queue schedulers, Prometheus metrics, exec orchestration with timeouts, file locking, state persistence and reconciliation, evdev input, tests written first |
| Python | Automation and integrations: KDE/Plasma theming hooks, RedBot Discord cogs, data wrangling, scripted host maintenance |
| TypeScript / JavaScript | Tooling for agent runtimes and web: bun-tested extensions, Astro sites, small front ends |
| AI and local models | Ollama and llama.cpp/GGUF: quantisation choices, GPU placement and pinning, architecture support gaps, throughput measurement, small-model agent behaviour, and honest evaluation of third-party models |
| Agent harnesses | Configuring pi, free-pi, Codex and Claude Code: providers and models, MCP servers, skills, project rules, session hygiene, and extensions that shape agent behaviour |
| MCP and memory | MCP servers over HTTP and stdio, token-scoped auth for them, and persistent agent memory in SQLite with search and deduplication |
| Networking | Cloudflare DNS, Access and tunnels; NetBird and WireGuard mesh; nginx reverse proxies; Pi-hole; Linux bridges and LAN design; SMTP egress |
| Identity | Authentik as the identity provider: OIDC/LDAP wiring for self-hosted services and Linux hosts, service accounts and least-privilege access |
| Security | Secrets management with injected environment (never in argv or on disk in plain sight), scoped tokens and permission boundaries, CEH v13 study, CTF work, and a lab that gets used for authorised pentesting |
| Observability | Prometheus metrics, Uptime Kuma, journald discipline, health checks that actually reflect user-visible health, and one-line-per-step operational logs |
| Input and peripherals | QMK/ZSA Moonlander firmware and layout tooling, Deskflow relays between machines, keyboard chords as system triggers |
Picked for being finished, not just started: each has a licence, real documentation and either tests or packaging. Three were written by hand over months; the other three lean on an agent and are here because they are finished — licences, docs, tests, packaging, a systemd unit or a release, not a demo.
| Project | State | What it does |
|---|---|---|
| animal-locator-drone | TypeScript and Python across four services, MIT, ~190 commits by me, PR-reviewed | Autonomous drone system for finding a lost dog: PX4 guidance, YOLO detection, and a Vue app for the search. This repo is the hub; the code is in the organisation |
| deckhud | Go, MIT, tests, Flatpak and AppImage packaging | Transparent Steam Input HUD for the Steam Deck: radial menus, key chords and layer cheat sheets |
| mealman | Python, Unlicense, 36 commits over four months | Calorie counting from a plain CSV, with a PyQt front end bolted on when the terminal was not enough |
| compilers | C, Unlicense, 167 files, 33 commits over eight months | A compiler for DECAF built stage by stage: Flex lexer, Bison parser, AST and symbol table, MIPS code generation |
| deckrotate | Go, MIT, 12 test files, v0.2.0 | Auto-rotate, tap-to-rotate, rotation lock and a tray applet for the Steam Deck |
| parallel-programming | C and Java, Unlicense, 152 files, 100 commits over two years | Threads, semaphores, OpenMP, MPI and CUDA, with the lab reports and measurements kept beside the code |
Other repos worth a glance, complete but less interesting: konsole_daynight, CEH-Study-Notes, doge_cogs, searxng-cli, pi-verify-on-write, dystopian_captcha.
- Homelab documentation, runbooks and post-mortems: wiki.godemperordoge.org
- Most active work lives in a private Gitea instance; public mirrors and reusable pieces land here.
Ask me about GPU passthrough that survives a reboot, why your agent ignored its tools, or how to keep a homelab documented while you break it.



