DOOMQL
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
A Doom-style game running entirely inside SQLite queries shows recursive CTEs can be pushed into absurd territory, mostly a curiosity, but a workable demo of the new Datasette Apps plugin.
A developer named Peter Gostev built DOOMQL, a small Doom-style shooting game where every rule, movement, enemies, shooting, even drawing the pixels on screen, is handled by SQL, the language usually used for asking questions of databases. It runs in a terminal via a Python script using SQLite, a popular free database. Simon Willison then built a web dashboard, using AI assistance from a Claude model, that shows a live map of the game while he plays it. It is a novelty project, not a product.
This is a hobby demonstration, not a commercial development: a game engine implemented entirely as SQL queries in SQLite, built by Peter Gostev using GPT-5.6 Sol. Its practical value is as a showcase of Datasette Apps, Willison's new plugin for adding custom HTML apps to a Datasette instance, Willison had Claude (Fable 5) generate a live viewer with a minimap from the game's frame_pixels view. No costs, users or business implications are stated.
DOOMQL (github.com/petergpt/doomql) is a Python terminal game where SQLite owns movement, collision, combat, progression and rendering; the ray tracer is one huge SQL query built on a recursive CTE, outputting to a 160×54 frame_pixels view (8,640 RGB pixels) at 89ms per query. Running it creates /tmp/doomql/.doomql/doomql.sqlite, which Willison explores via Datasette with the new datasette-apps plugin (uvx --with datasette-apps), serving an auto-refreshing HTML viewer plus minimap. Built with GPT-5.6 Sol; viewer app generated with Claude Fable 5.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
DOOMQL SQLite Datasette Datasette Apps plugin GPT-5.6 Sol Claude Fable 5
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.