Two new things for your enjoyment in the tiles world. First, Tiles Protocols: dasl.ing/tiles-protoc... This provides a basic framework explaining how tiles communicate with their hosts. It also serves as a registry for tile protocols.
Post
And the first such protocol, Data Passing: dasl.ing/tp-data.html. This is to pass structured clone data between tile and host. It provides a simple protocol to do that, as well as a model for other protocols that will also pass data (which they will).
1 repost4 likes
The latest @dasl/tiles libraries already support this: npmx.dev/package/@das.... Notably, the webtil.es tile loading source supports the data protocol, so anything that embeds on that basis can use it right away.
If you want to play with the data protocol, you can use Blastile 💥💥💥: tangled.org/robin.berjon.... It's a (vibed) deno desktop app that can run local tiles, watch a directory to auto-refresh a tile as you're building it, emulate passing data, publish a tile to AT, etc.
You might not have noticed, but when @kandake.africa demoed @twinkl.social at the @npmx.dev event a few nights back, she was already running the updated version with data passing support. Try it out on twinkl.social!