@axona/protocol

Pure-JS protocol kernel for the Axona peer-to-peer mesh. Three live demonstrations of what the kernel does.

Axona Demo

Publish and subscribe to a shared hello-world topic anchored at Virginia, over the live Axona mesh. Open the page in multiple tabs (or on a phone) and every connected peer's messages appear in the subscribe pane. Connects to bridge.axona.net via WebRTC + WebSocket. Mobile-ready, no build step.

/examples/minimal-pubsub-browser/

S2 region visualizer

Interactive 3D globe showing the 192 S2 cells that anchor every Axona nodeId and pub/sub topic. Hover any point to see which cell it falls in; toggle the Hilbert path to trace the cell numbering order along the real Google S2 level-3 curve. Cell IDs match topBits8(S2.level3.cellId(lat, lng)) — full interop with any standard S2 library.

/examples/s2-region-visualizer/

Axona Minimal

The smallest useful Axona app, in ~60 lines: a topic field, a message field, and a received-messages pane. Publish to a topic, subscribe to a topic, watch what arrives over the live mesh. Open it in two tabs (or on a phone) and each peer's messages show up in the other. The worked example from the programmer-intro talk.

/apps/axona-minimal/