Coding with AI

Datasette Apps version 0.4a0 has been released

Datasette Apps 0.4a0 introduces URL fragment linking for sandboxed web applications. Separate apps can share state through links, enabling modular search and detail views. The update also reports supported URL schemes to Datasette Agent so it can generate connected data-querying tools.

Key Points

  • Datasette Apps 0.4a0 adds URL fragment linking, letting sandboxed HTML/JavaScript apps inside Datasette share state and context through links that start with #.
  • Apps can stay separate but cooperate, such as a search app linking to a record-details app using the target app’s expected fragment format.
  • Supported URL schemes are reported to Datasette Agent, helping it understand which links apps accept and generate cleanly connected tools.
  • The update makes Datasette Apps more modular and composable, extending their usefulness by moving users between SQL-querying data views via linked fragments.

Meta description: Datasette Apps 0.4a0 adds URL fragment linking for sandboxed HTML/JavaScript apps to share state and help Datasette Agent write linked tools.

Tags: datasette-agent, datasette-apps, datasette, urls

Featured image: sandboxed HTML/JavaScript apps linked by URL fragments; no people/logos/text.

0.4a0 adds

  1. 4a0 adds linking between Datasette Apps: sandboxed HTML/JavaScript apps inside Datasette, resembling Claude Artifacts but able to run SQL queries on your data.

Linking uses URL fragments, which start with #. Readers can link to an app with a fragment; the app can see and use it. Supported URL schemes are reported to Datasette Agent to help write linked apps.

Datasette Apps version 0.4a0 has been released

Linking

One app shows record details; another searches records and links to them.

Apps stay separate but cooperate: details need not include search; search need not render records, link to correct record via details app’s format.

Datasette Agent

Datasette Agent receives URL schemes, so it can know which links apps understand and generate cleanly connected apps.

Confirmed: fragment linking, fragment visibility in apps, and reporting URL schemes to Datasette Agent.

Datasette Apps version 0.4a0 has been released

Impact

Value: modular design. Interfaces can split into apps for search or record details, connected by links carrying fragments.

For Datasette users, it extends apps’ usefulness: SQL-querying apps can move users between data views via fragments.

The building-block update makes apps composable by sharing context via links and gives Datasette Agent information to build them.

Comments (0)

  1. No comments yet. Be the first to share what worked for you.

Leave a comment

Comments are reviewed before they appear. Your email address is not published.