返回全部资讯
Simon Willison 博客T2·开发与工程

Datasette Apps 0.4a0 支持应用间链接跳转

原标题:datasette-apps 0.4a0
42AI 研判分

Datasette Apps 是运行在 Datasette 内部的沙箱化 HTML/JavaScript 应用,可对数据执行 SQL 查询。0.4a0 版本新增链接能力:应用可通过 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.