OPFS + Pyodide 测试 UI

Simon Willison 博客·2026-06-24 02:58·69天前·Simon Willison
AI 导读

Simon Willison 使用 Claude Code for web 构建了一个 OPFS + Pyodide 测试 UI,用于验证 Datasette Lite(基于 Pyodide 和 WebAssembly 在浏览器中运行的 Python Datasette 应用)能否通过 Origin Private File System(OPFS)编辑用户计算机上的持久 SQLite 文件,并在不同浏览器中测试其可行性。

Simon Willison 博客
59AI 编辑部评分,满分 100

OPFS + Pyodide 测试 UI

2026-06-24 02:58· 69天前· Simon Willison
AI 导读

Simon Willison 使用 Claude Code for web 构建了一个 OPFS + Pyodide 测试 UI,用于验证 Datasette Lite(基于 Pyodide 和 WebAssembly 在浏览器中运行的 Python Datasette 应用)能否通过 Origin Private File System(OPFS)编辑用户计算机上的持久 SQLite 文件,并在不同浏览器中测试其可行性。

Tool: OPFS + Pyodide test harness

I've been pondering if Datasette Lite - the Python Datasette application run entirely in the browser using Pyodide and WebAssembly - might be able to edit persistent SQLite files stored on the user's computer.

That's what OFPS (Origin Private File System) is for, so I had Claude Code for web build me this playground UI to try it out in different browsers.

Tags: browsers, pyodide, datasette-lite

来源:Simon Willison 博客· simonwillison.net