Weave
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.

Concepts
  • 01Signed event protocol for social, messaging, collaboration.
  • 02Spaces, feeds, references, filters, transport.
  • 03Powers dSocial-class apps and agent collaboration.
  • 04Composable with Trace, Lens, Nexus, Locus.
Code
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); }