Skip to content
Tech News
← Back to articles

Dwarf Fortress in the Browser

read original more articles
Why This Matters

The introduction of Dwarf Fortress playable directly in a web browser via remote hosting and streaming technology marks a significant advancement in making complex gaming experiences more accessible. This setup eliminates the need for powerful local hardware, broadening the reach of classic and Steam editions to a wider audience and showcasing innovative use of containerization and streaming in gaming.

Key Takeaways

remote-df — Dwarf Fortress in the Browser

Play Dwarf Fortress (Classic or Steam edition) in a web browser with audio. DF runs as a Docker container on a remote x86-64 Linux host at full native speed, streamed to your browser over noVNC with audio via HTTP.

Classic Steam (Premium)

Architecture

Your machine Remote x86-64 Linux host (ssh <remote>) ┌──────────────────┐ ┌──────────────────────────────────────────────────┐ │ Browser │ │ Docker container │ │ noVNC <canvas> ─┼── SSH tunnel ──▶│ nginx :6080 │ │ <audio> src= │ (loopback) │ ├─ / → custom index.html (VNC + audio) │ │ /audio │ │ ├─ /websockify → websockify → Xvnc :5900 │ │ localhost:6080 │ │ ├─ /audio → Icecast ◀─ ffmpeg (internal) │ │ │ │ └─ /saves /backups /logs → browse/download │ └──────────────────┘ │ PulseAudio (virtual sink) ◀─ dwarfort │ │ saves → host dir (bind mount, on disk) │ │ backups → host dir (periodic save tarballs) │ └──────────────────────────────────────────────────┘

Nothing is exposed publicly: the container binds to 127.0.0.1 , and you reach it through an SSH tunnel.

Prerequisites

A remote x86-64 Linux host you can SSH into (e.g. a VPS or cloud instance)

Docker installed on that host

SSH client on your local machine

... continue reading