Author
Ali Arbab
Project
06 / LameCRAFT
Status
Live — self-hosted
Navigate
§ 01
Pitch
LameCRAFT
A self-hosted home server, the control panel that runs it, and the design system everything else borrows.
A home machine behind carrier-grade NAT (so no public IP and no port forwarding) serving my own sites to the internet anyway, through a Cloudflare tunnel it dials out itself — FastAPI on uvicorn, no hosting bill. A Python control panel, packaged as a Windows executable, watches its processes and network. And the Command Nexus design system: one JSON spec of colours, type and motion rules that MagLock's app and my study pages are both built from. It's live at lamecraft.org.
- 1JSON spec for the whole look
- ₹0Hosting bill
- 50msMaster animation loop
- 25Written design rules
As of
§ 02
Access
Live
lamecraft.org ↗Source
Source not public
§ 03
Server
Self-hosted from behind a CGNAT.
It started with a Minecraft server. In 2023 a friend set up a Discord server as a place for us to hang out around a Minecraft world and called it LameCRAFT; the name has stuck to everything I've hosted since. The first time my tutee and I tried to host a Minecraft server for our friends, forwarding a port on the router did nothing at all. Working out why is how I learned what carrier-grade NAT is, and it sent us down an ngrok rabbit hole that eventually ended at a Cloudflare tunnel.
I wanted my sites running on my own machine at home, not on someone else's hosting. The catch: my connection sits behind carrier-grade NAT. My ISP shares one public IP address across many customers, so there is no address of my own to point a domain at, and forwarding a port on my router does nothing, because the router itself isn't reachable from the internet.
So the traffic goes the other way round. FastAPI on uvicorn serves the sites locally, and a Cloudflare tunnel daemon on the same machine dials out to Cloudflare and holds that connection open. Visitors hit Cloudflare's edge, and requests come back down the tunnel the server opened itself. Outbound connections work fine through CGNAT, so the site is live without a public IP, an open port or a hosting bill, and adding a subdomain is one line of tunnel config.
It's live at lamecraft.org: a CRT-terminal front page, and the study notes below. It's my own corner of the internet rather than a product, so expect the odd rough edge.
§ 04
Control panel
A cockpit for the box.
A Python control panel — about fifteen hundred lines, packaged as a Windows executable with PyInstaller — starts and stops the services, and watches processes, ports and network state through psutil. Its colours, fonts and motion were the first thing I ever designed carefully, and they turned into everything below.
§ 05
Design system
Command Nexus: a design system written as data.
Command Nexus is specified in one JSON file: colour tokens and the maths that derives them, typography, glyphs, button behaviour, motion constants, component shapes, a paste-ready :root block, and a checklist of sixteen things a faithful copy must have and nine it must never do. Because it's data rather than a mood board, any page, app or tool can reproduce it exactly — and MagLock's Flutter theme is copied from it colour for colour.
- Void--bg · #030306
- Primary--accent · #00ff9d
- Info--accent2 · #00d4ff
- Danger--accent3 · #ff3366
- Warning--accent4 · #ffd700
- Secondary--accent5 · #c77dff
- Near-black void, never pure black; one monospace family and nothing else.
- Every border one pixel and square — no radius anywhere.
- “Glow” is colour blending, never blur; buttons invert instantly on hover, with no transition.
- Section heads are uppercase, letter-spaced and prefixed with ◈.
- All motion runs off one shared phase value ticking every 50ms — create once, mutate forever — so nothing on a page drifts out of step.
§ 06
Study pages
Notes that print like they render.
My study material lives on the same server, in /skool, as standalone HTML pages in the Command Nexus look, with maths typeset by KaTeX. A shared print kit adds one-click PDF export and print settings to any page with a single script tag — and taught me how fiddly raster pagination is: every atomic block has to refuse to split, or a PDF cuts an equation in half.
§ 07
Stack
- FastAPI + uvicorn
- Cloudflare Tunnel
- Python control panel (psutil)
- PyInstaller Windows build
- Command Nexus design system (JSON spec)
- Standalone HTML + KaTeX pages
Started · page reviewed