flowchart LR
V[Visitor] --> CF[Cloudflare]
CF -->|outbound tunnel| C[Caddy web server]
C --> S[Articles and Workshops<br/>static pages]
C --> I[Isso<br/>comments]
C --> M[Matomo<br/>visitor statistics]
C --> A[Graph API<br/>FastAPI]
A --> N[(Neo4j)]
CF -->|outbound tunnel| E[Explorer<br/>FastAPI]
E --> N2[(Explorer's own<br/>Neo4j)]
E -.->|fixed read-only commands| L[Running<br/>Containerlab lab]
An architect, an AI and a mini PC: how this site was built
I have worked with service provider networks for many years. I know how to specify a system, how to question a design, and how to tell when something is not ready for production. Building and running a complete website is a different discipline.
So I approached it as I would any project that needs a specialist: I brought in a developer. The developer on this project is Claude, an AI made by Anthropic. I acted as the architect. I decided what the site should do, what it must never do, and whether the result was good enough. Claude wrote the code, ran the tests and told me when it had got something wrong.
This article opens up the site and shows what is inside each section. Claude has written its own notes along the way, and I have left them in its own words.
How we worked
The arrangement was simple, and it is one that any engineer will recognise from change management.
- I describe the outcome I want. Claude looks at what already exists and proposes how to do it.
- Nothing significant changes until I have agreed to it. That applies especially to anything on the live website or in an external account.
- Every change is tested, committed and documented in the same step.
- I decide when something is finished, and I test it myself before I say so.
The most useful part of this was the design conversation. When I asked for a tool that could load an IS-IS database into a graph and query it, the obvious plan was to use the graph database already behind the website. Claude read the existing code first and found that the public Graph Explorer draws everything in that database. At that stage the tool was meant to be private, and its data would have appeared on a public page. We gave the tool its own database instead. That is a very ordinary design review finding, and it is exactly why I still want design reviews when the developer is an AI.
Requirements also changed as soon as I could see the work. An early version of that tool’s graph printed the interface names on every link, and it was unreadable. Dragging one router also dragged the whole network with it. Neither problem was visible on paper. A few rounds of “that is not what I meant” produced something far better than my first specification.
The big picture
The whole site runs on one small mini PC. Almost everything on it runs in Docker containers, and none of them is directly exposed to the internet.
Coming from networking, I find this the most satisfying part of the design. The server opens an outbound tunnel to Cloudflare, and visitors reach the site through that. There are no inbound ports to forward on my router for the website, and Cloudflare handles HTTPS and absorbs a good deal of unwanted traffic before it reaches me. Inside the machine, Caddy receives most requests and decides which service should answer each one. The Explorer is deliberately kept apart, with its own database.
A mini PC is, of course, a single point of failure. For a knowledge-sharing site that is an acceptable trade-off, and I would not make the same decision for a service provider network. What matters here is being able to rebuild quickly, which I come back to below.
The home page
The home page is the front door: who the site is for, where to start, and the latest articles. I asked for a background that said something about networks and AI-based automation. Claude drew it as a small program instead of using a stock image: a mesh of routers across the page, a small neural network in the middle, and pulses travelling out along the links. The pulses stop for visitors whose device asks for reduced motion.
Articles
The page you are reading started as a plain text file. Articles are written in Markdown or as Jupyter notebooks, and Quarto turns them into ordinary web pages. It also produces the Articles list, the search box, the RSS feed and the light and dark themes.
Because the result is static files, Caddy only has to hand them over, which is fast and leaves very little to attack. An article can also contain Python code that runs when the site is built, so a chart can be generated from real data instead of pasted in as a picture.
Publishing has one safeguard that I particularly like. The site is built into a new folder, and the live site switches to it only if the entire build has succeeded. A failed build changes nothing, and a good build that turns out to look wrong can be rolled back at once. Network engineers will recognise the idea: commit only what has been validated, and keep a way back.
Workshops
The Workshops section holds hands-on training, beginning with a Containerlab series. It is built with the same tools as the articles, but the source lives in its own public GitHub repository, so that engineers, students and institutions can use the material directly.
Every lab comes with a script that verifies it. Training material that has not been tested wastes the time of the very people it is meant to help.
Topology Viewer, Topology Designer and the original Graph Explorer
Networks are graphs, and I wanted a part of the site that treated them that way.
- The original Graph Explorer reads a network model from Neo4j through a small Python service built with FastAPI, and draws it in your browser using vis-network. It only ever reads from the database. It is no longer in the site menu, because the Explorer described below has taken its place, but it is still there to look at.
- The Topology Viewer draws a Containerlab topology file.
- The Topology Designer works the other way round: you draw a lab and it produces the topology file.
The Viewer and Designer do their work in your browser. Your topology stays on your own machine.
Visitor statistics
I wanted to know whether anybody was reading the site, and I did not want to pay for that knowledge with my readers’ privacy. So I self-host Matomo and configured it for UK GDPR: no cookies, IP addresses shortened before they are stored, Do Not Track and Global Privacy Control respected, and detailed visit records deleted after six months. The full details are on the Privacy page, where you can also opt out.
The same thinking applies to something as small as the font. The site uses Lato, and the files are served from this server, so reading a page here does not involve a request to Google.
The Explorer: a tool that started as a question
One recent addition is the Explorer. It reads the IS-IS database from a Containerlab lab running on the server and loads the topology into its own Neo4j database. You can then query the network with Cypher and see routers drawn by role, with the interface names at each end of every link. It only has something fresh to offer when I have a lab running.
It began behind a login while we tested it. Before opening it up we removed the option to paste in command output, so that it only ever holds data from my own labs. Because anyone can use it, it has limits: queries are read-only and restricted in size and time, and uploads can only run one at a time.
I mention it because it shows the working method better than anything else on the site. It went from “can this be done?” to something I was using in a single afternoon, and each step was checked against the live routers.
Keeping it running
Every part of the site is defined in configuration held in a private Git repository. That includes the instructions for rebuilding it on a new machine. The content, the databases and the secrets are backed up regularly, with anything sensitive encrypted first, and we test restores instead of assuming they work.
Writing the rebuild guide was as important as building the site. If the mini PC fails, I do not want the recovery to depend on my memory, or on Claude’s.
Consistency needs looking after too. The site is really two kinds of page, those built by Quarto and a few hand-built tools, and at one point I noticed the headers no longer matched. We now measure it: every page is loaded in a real browser and its header compared against the others.
What I would tell another engineer
Working this way did not remove the need for engineering judgement. It increased the value of it.
An AI developer will produce a working solution very quickly, and that makes it easy to accept the first answer. The skills that mattered most were the ones I already had from working on networks: stating requirements precisely, asking what happens when something fails, separating public from private, insisting on a way back, and refusing to call something finished until it had been tested.
I would encourage any network engineer who has been putting off automation to start with a project of their own.
If you have questions about any part of this, or you have built something similar, please leave a comment below.
Comments
Comments use Isso, a small open-source comment system that I host myself. No third-party comment platform sits between you and the article. When someone comments, I receive an email, sent through Brevo, and the comment stays hidden until I approve it.