跳到正文
Simon Willison·· 17 天前AI 评分46

Datasette Apps 0.4a0 发布:支持 URL fragment 链接与跨应用互链

datasette-apps 0.4a0

AI 导读

Datasette Apps 0.4a0 为沙箱化 HTML/JavaScript 应用新增链接支持,应用可通过 URL 中的 #fragments 读取并使用参数,支持的 URL scheme 也会回传给 Datasette Agent 以辅助编写互相链接的应用。

正文

Datasette Apps are sandboxed HTML and JavaScript applications that live inside Datasette - think Claude Artifacts, but these ones can run SQL queries against your data.

0.4a0 adds support for linking: you can link to an app with #fragments in the URL and the app can see and use those, plus supported URL schemes are reported back to Datasette Agent so it can help write apps that link to each other.

This means you can have e.g. an app that shows details about a specific record, and a completely separate app that searches those records and links to their representations in the first app.

来源:Simon Willison · simonwillison.net