This short reference article shows how to stream data from a Flask web app to HTMX using server-side events (SSE).
Tunnel excavation involves lots of boring mathematics.