swift-libp2p / P2P / NETWORKING
Put the peer at the center.
Let devices find one another and exchange with a purpose. Compose how an app connects.
Start with the peer, then choose the route.
P2P (peer-to-peer) distributed systems separate peer identity from the communication path. PeerID anchors discovery, transports such as QUIC or WebRTC, stream multiplexing and application protocols. This composition selects routes while retaining libp2p interoperability; it does not remove the possible need for NAT traversal, relays or other external infrastructure.
Read the source · README.md ↗Behind the experience
Select a node to read its role.
Own peer identity and discovery
- PeerID / Discovery→Selected TransportUses / depends on
- Selected Transport→TLS / CryptoUses / depends on
- Selected Transport→Mux / ProtocolsData / execution
- Mux / Protocols→Peer appData / execution
- Peer app→PeerID / DiscoveryResult / response
Compose PeerID and discovery, a selected transport, delegated cryptography and stream multiplexing. Run the chosen peer protocols above them.
Build an app around relationships between peers.
Start with who exchanges what, and how. Developers can select discovery, transport and exchange protocols around each device’s role and the purpose of the application.

The image could not load. The experience is described below.
An AI-generated imagined use scenario, not an actual customer or product screen.