01 / Project

YAP.

Not Yet Another Protocol.

EXPERIMENTAL

An experimental peer-to-peer messaging protocol written in Rust.

YAP explores direct communication between peers without relying on a central relay.

LANGUAGE RUST
TRANSPORT QUIC
MODEL P2P
STATUS EXPERIMENTAL

01

What is YAP?

YAP is an experimental peer-to-peer messaging protocol built in Rust.

Rather than putting a server in the middle of every conversation, YAP is designed around peers communicating directly with one another.

The project is part networking experiment, part protocol experiment, and part excuse to see how far a small Rust codebase can go.

02

Why?

Modern messaging systems usually hide an enormous amount of infrastructure behind a simple message box.

YAP starts from a much simpler question:

What happens if the peers just talk to each other?

That makes YAP useful as a place to experiment with peer discovery, connections, protocol design, binary data, and asynchronous Rust.

03

Architecture

YAP uses QUIC as its transport layer. QUIC provides reliable streams and connections while operating over UDP.

PEER A
QUIC
PEER B

04

Technical

Implementation Rust
Transport QUIC
Architecture Peer-to-peer
Protocol Custom binary protocol
Relay None by design

05

Current state

YAP is experimental and actively evolving. The protocol and implementation are not considered stable yet.

In other words:

Probably don't trust it with anything important.