Datasette Apps: Host custom HTML applications inside Datasette
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Developers can now host custom sandboxed HTML+JavaScript apps inside Datasette that safely query data via SQL, turning it into a lightweight platform for vibe-coded database frontends.
Datasette, an open-source tool for exploring databases, has launched a new plugin called datasette-apps. It lets people add small, self-contained web apps that run inside a locked-down frame and can look up or (with permission) change data in the database. The idea is similar to Claude Artifacts, but with a database attached. Anyone can try it on the demo site agent.datasette.io by signing in with GitHub.
Simon Willison's Datasette project released the datasette-apps plugin, turning the database exploration tool into a host for custom web apps. It targets teams that want internal tools like dashboards or search interfaces built quickly, often by pasting a prompt into ChatGPT, Claude or Gemini. Security is handled through strict iframe sandboxing and content security policies, limiting exfiltration risk on authenticated data instances.
The datasette-apps plugin runs untrusted HTML+JS in an iframe with sandbox="allow-scripts allow-forms" plus an immutable meta CSP header (default-src 'none'; script-src 'unsafe-inline') blocking external requests, Willison verified the CSP cannot be removed by embedded code. Apps communicate with the parent via MessageChannel rather than postMessage for defense in depth, using an allow-listed SQL API; writes go through Datasette 1.0a31's upgraded stored queries. Query and error logs are surfaced in the parent UI.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Datasette datasette-apps Datasette Agent Claude Artifacts MessageChannel GitHub
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
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.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.