07 — App protocol
WOVEN
The application protocol. Signed events, spaces, feeds, filters, references, transport. The same primitives that power dSocial-class networks also power agent collaboration, document workspaces, and group inboxes.
A closer lookAn event worth sharing.
A signed event travels to participating peers. Each receiver can inspect its author and integrity.
- 01Author an event
- 02Publish to the topic
- 03Verify on receipt
01 — Concepts
01
Signed event protocol for social, messaging, collaboration.
02
Spaces, feeds, references, filters, transport.
03
Powers dSocial-class apps and agent collaboration.
04
Composable with Strand, Lens, Nexus, Locus.
02 — Code
A handful of lines.
use woven::{Event, Space, Filter};
let space = Space::open("dsocial/general").await?;
space.publish(Event::post("hello, peers")).await?;
let mut feed = space.subscribe(Filter::recent_posts(50));
while let Some(evt) = feed.next().await { handle(evt); }