Files
chasqui/02_ruway/chasqui
sergio 5d5e4a3ae4 feat: chasqui standalone — descubrimiento + transporte P2P soberano (DHT, relay, NAT traversal) (front-door, git-dep al monorepo)
Front-door limpio: solo crates del dominio; Llimphi y lo fundacional por
git-dep del monorepo gioser.git. cargo check pasa (8 crates, 0 errores).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 12:17:59 +00:00
..

chasqui

chasqui (Quechua: messenger of the Inca road). Message broker + typed bus.

Nervous system of the monorepo. Apps publish and subscribe to typed topics; the broker routes and persists. nous backend with two impls: mock (in-process for tests) and real (binary TCP). Every message carries its schema, fail-closed if the receiver doesn't know it.

Install

cargo run --release -p chasqui-broker
cargo run --release -p chasqui-broker-explorer-llimphi
cargo run --release -p chasqui-explorer-llimphi

Compatibility

  • Linux / macOS / Windows — broker + clients in native Rust.
  • Wawa — broker runs as a kernel app.
  • TCP localhost by default; Unix sockets optional.

Crates

Crate Role
chasqui-core Topic, Message, Schema, Subscription.
chasqui-broker Broker binary.
chasqui-nous Transport trait.
chasqui-nous-mock In-process transport.
chasqui-nous-real Binary TCP/Unix transport.
chasqui-card Desktop card.
chasqui-broker-explorer-llimphi Topics + active subscribers UI.
chasqui-explorer-llimphi Live message log UI.

Considerations

  • Schema-first. No schema declared, no message through.
  • Persistence opt-in per topic; ephemeral topics live in memory only.
  • Not Kafka. Designed for the monorepo, not interplanetary production volume.