Datasette-apps:运行在 Datasette 内部的应用程序
Datasette-apps 是一个让开发者直接在 Datasette 内部构建和运行应用程序的框架。它将 Datasette 从数据浏览工具扩展为轻量级应用平台,支持插件化开发和数据驱动的交互应用,无需额外部署独立的 Web 服务。
Datasette-apps 是一个让开发者直接在 Datasette 内部构建和运行应用程序的框架。它将 Datasette 从数据浏览工具扩展为轻量级应用平台,支持插件化开发和数据驱动的交互应用,无需额外部署独立的 Web 服务。
Datasette Apps is a new plugin that lets users host custom HTML+JavaScript apps inside Datasette in a sandboxed iframe with a Content Security Policy. The apps can run read-only SQL queries and optionally write data via stored queries. The feature supports AI-assisted creation through copyable prompts for LLMs.
Simon Willison released an alpha package, micropython-wasm, that runs MicroPython code inside a WebAssembly sandbox via wasmtime. It enforces memory/CPU limits, restricts file and network access, and supports persistent state and host functions for safely executing untrusted code in Python applications.
Simon Willison created a GitHub repository that converts Mozilla's browser-compat-data into a ~66MB SQLite database, using an AI-generated script and GitHub Actions to build and host the database on an orphan branch with open CORS headers for easy access via Datasette Lite.
Datasette 1.0a35 has been released, introducing a new "Create table" interface and JSON API, an "Alter table" feature with table modification capabilities, and official documentation for template context variables as a stable API for custom templates until version 2.0.
Simon Willison created a test harness to explore using the Origin Private File System (OPFS) with Pyodide, with the goal of enabling Datasette Lite to edit persistent SQLite files stored on the user's computer directly in the browser.