Datasette Apps: Host custom HTML applications inside Datasette
- Developer Tools
- Data
- Open Source
- Security
- AI
The post introduces a new Datasette feature that lets developers store and serve custom HTML applications inside Datasette itself. Datasette is an open source tool for publishing and exploring structured data, usually backed by SQLite, with a built-in web UI and API. The new idea is to let people attach lightweight interactive apps directly to that data layer, instead of standing up a separate frontend. Those apps run in a sandboxed iframe and talk to the underlying database through Datasette’s existing saved-query system, including a split between ordinary queries that respect the current viewer’s permissions and admin-defined “trusted” queries that can expose broader capabilities.
If you build data-heavy products, this points to a useful middle ground between static dashboards and full custom SaaS apps: ship small task-specific interfaces directly on top of a database. The thing to watch is governance, especially who can define write-capable queries and how much you trust browser sandboxing for user-authored app code.
- simonwillison.net
- Discuss on HN