ViqusViqus
Navigate
Company
Blog
About Us
Contact
System Status
Enter Viqus Hub

Datasette Launches 'Apps': Sandboxed HTML/JS Enables Custom, Secure Data Visualization Interfaces.

Datasette Apps iframe sandbox Content-Security-Policy JavaScript read-write applications Data Visualization SQLite
June 18, 2026
Source: Simon Willison
Viqus Verdict Logo Viqus Verdict Logo 7
Systemic Improvement in Data Productization.
Media Hype 3/10
Real Impact 7/10

Article Summary

Datasette has released Datasette Apps, a new plugin that enables the creation of custom, interactive data visualization tools built with HTML and JavaScript. These apps operate within a tightly constrained iframe sandbox, which is crucial for security, preventing access to cookies, local storage, or external HTTP requests to unauthorized domains. The system enhances core data capabilities by allowing these apps to execute read-only or pre-approved write SQL queries against the underlying relational database. Key architectural improvements include using Content Security Policies (CSP) and MessageChannel for robust communication, drastically reducing the attack surface. The plugin is positioned to be highly compatible with Large Language Models (LLMs), as the UI includes a prompt that gives LLMs all necessary database schemas, enabling them to generate functional app code directly. This effectively creates a 'Claude Artifacts' model for data application development.

Key Points

  • Datasette Apps provides a secure, sandboxed environment for running custom HTML/JavaScript applications against internal datasets.
  • The architecture uses advanced techniques like CSP and MessageChannel to ensure the apps cannot exfiltrate data or interact with the parent window's memory.
  • The tool is designed to integrate with LLMs by providing structured prompts containing database schemas, allowing models to generate functional data-driven code.

Why It Matters

This is a significant platform update that directly addresses the critical pain point of building safe, bespoke data UIs atop structured data sources. By combining a sandboxed execution model with structured query capabilities, Datasette is moving closer to an integrated 'data intelligence layer' where custom workflows and complex analyses (like 'Claude Artifacts') can run natively and securely. For professionals working with proprietary or sensitive data, this reduces the need to export data to external BI tools, keeping the process contained and secure within the existing ecosystem. It shifts the focus from simple API access to full, dynamic front-end application development for data, which is a major leap in data productization.

You might also be interested in