---
title: "Building Critical Infrastructure with htmx: Network Automation for the Paris 2024 Olympics"
description: "A Django/Celery/SQLite/htmx stack was used to build a network service portal that configured switch ports for the Paris 2024 Olympics network across three services: Direct Internet Access, Private VLAN and Shared Internet Access."
url: "https://swe.quest/articles/building-critical-infrastructure-with-htmx-network-automation-for-the-paris-2137e352ecc22103"
canonical: "https://htmx.org/essays/paris-2024-olympics-htmx-network-automation/"
source: "htmx essays"
published: "2026-01-16"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["frontend","python","ai-coding","networking","product-engineering"]
---

# Building Critical Infrastructure with htmx: Network Automation for the Paris 2024 Olympics

A post on [htmx essays](https://swe.quest/sources/htmx.md), published 2026-01-16, 8 min read, Case study. Original: [https://htmx.org/essays/paris-2024-olympics-htmx-network-automation/](https://htmx.org/essays/paris-2024-olympics-htmx-network-automation/)

## Summary

A Django/Celery/SQLite/htmx stack was used to build a network service portal that configured switch ports for the Paris 2024 Olympics network across three services: Direct Internet Access, Private VLAN and Shared Internet Access. Server-rendered HTML fragments, simple polling (e.g. a progress bar refreshed every 600ms via hx-trigger) and long procedural view functions kept the data flow in one place and the behaviour visible in the markup. That compact structure made LLM extrapolation effective: the first service took 4 weeks by hand, the second was about 80% generated by Claude in 1 week, and the third about 95% generated in 1 day. The same app was later reused for the Tour de France 2025, and an earlier htmx L2VPN migration tool shipped in 5 weeks, against at least double the time the author estimates for an SPA.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Python](https://swe.quest/tags/python.md) (Languages)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Networking](https://swe.quest/tags/networking.md) (Infrastructure)
- [Product engineering](https://swe.quest/tags/product-engineering.md) (Engineering organization)

## Prerequisites

- Django basics
- server-rendered HTML
- REST/hypermedia concepts ([easy posts on API design](https://swe.quest/tags/api-design.md?difficulty=easy))

## Keywords

htmx, Django, Celery, SQLite, Claude, Paris 2024 Olympics, Cisco, Hyperscript

## Related posts

- [Speeding up agentic workflows with WebSockets in the Responses API](https://swe.quest/articles/speeding-up-agentic-workflows-with-websockets-in-the-responses-api-7a1ff127c7fc35a3.md): OpenAI · 2026-04-22 · Medium · 6 min read · AI agents, API design, Performance engineering, Inference & serving, Real-time systems
  OpenAI cut end-to-end latency of agentic loops on the Responses API by about 40% by adding a WebSocket mode that keeps a persistent connection with a connection-scoped in-memory cache of prior response state.
- [The Best Platforms to Deploy AI Apps in 2026 (Not the Models, the Apps Around Them)](https://swe.quest/articles/the-best-platforms-to-deploy-ai-apps-in-2026-not-the-models-the-apps-around-them-9f2c8ac872ba13b1.md): Railway · 2026-05-25 · Easy · 15 min read · Cloud platforms, Serverless, LLMs, Deployment, System design
  Deploying AI apps splits into two distinct problems: Layer 1 model serving (GPU scheduling, weight loading, per-token economics) and Layer 2 AI apps (long-running web services, workers, Postgres/pgvector, crons, streaming) that call hosted model APIs.
- [Building with the OpenAI Apps SDK: A Field Guide](https://swe.quest/articles/building-with-the-openai-apps-sdk-a-field-guide-4d32891d09b8bb2e.md): Render · 2025-10-29 · Medium · 8 min read · AI agents, LLMs, Developer tools, TypeScript, Debugging
  OpenAI's Apps SDK extends the Model Context Protocol with a widget layer: tools that return structuredContent with \`\_meta.openai/outputTemplate\` metadata get rendered as inline React components in ChatGPT.
- [Making a web app generator with open ML models](https://swe.quest/articles/making-a-web-app-generator-with-open-ml-models-3da427bd1ac5acd0.md): Hugging Face · 2023-07-03 · Medium · 9 min read · LLMs, AI for coding, JavaScript, Inference & serving
  A Node.js/Express server can generate web apps from a text prompt by streaming tokens from a code LLM (WizardCoder-15B on Hugging Face Inference Endpoints) straight into the browser as HTML.
- [Supercharging Directus on Railway with a Static Frontend](https://swe.quest/articles/supercharging-directus-on-railway-with-a-static-frontend-06dcb86215b2424e.md): Railway · 2024-12-13 · Medium · 8 min read · Python, GraphQL, Web performance, CI/CD, Frontend
  A custom Python static site generator replaces per-request GraphQL fetching from a Directus CMS, which was slow and loaded the server, for a school newspaper site.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
