Turn your homelab into a platform game — building Warden House from inventory data
In Warden House, the door marked with your router's address comes from a record on your own machine. Jump onto its ledge to enter, or select it from the directory. Open Inspect connections and you can follow a recorded relationship straight into the peer's room. The game builds its hall from what a Linux collector can read. The default route supplies the gateway, the ARP cache supplies…
Warden House is a unique game that transforms your home lab network into a platformer. It builds its game layout using data sourced directly from your Linux devices, such as router addresses, DHCP leases, ARP connections, and running services. By simply walking through the virtual rooms, corridors, and doors, you can explore your own network topology in an intuitive and engaging way.
The game is built using Phaser.js, a free canvas-based platformer, and Python, which makes it easy to gather system data from your host machine. The result is a standalone, single-file game plus Python collector that runs completely offline, requires no database, and can even publish new discoveries to dev.to when it finds something new.
To build Warden House, simply run the provided Python script from the source directory, which pulls in all necessary dependencies and packages everything together into a single executable archive. There's no need for installation, pip, or Docker – just extract the archive, run it, and point your browser at the printed address.
The game pulls in data from various sources every 30 seconds, allowing newly discovered devices to appear in the game as you explore. You can open the service directory, inspect individual connections, and even follow relationships between devices without leaving the game interface. Warden House offers a tactile, visual representation of your network topology, turning complex network data into an interactive, walkthrough experience.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to