Vefr GitHub

A foundation for connected applications

Independent peers.
Shared possibilities.

Peer-to-peer communication for the web.

Room enrollment, peer discovery, and WebRTC signaling. Vefr gives you the communication layer to connect your web clients—and the freedom to build the rest.

Client SDK / Documented protocol / Self-hostable backends

Self-hosted signaling.Direct connections.Shared experiences.

01 / THE COMMUNICATION LAYER

A defined foundation.
Your application on top.

Vefr handles how participants find one another and establish connections. Your application decides what happens next.

CONNECTION MODELConceptual
Your signaling backendEnrollment · admission · discovery
Client AWeb application
Client BWeb application

Signaling establishes the session. Peers exchange application data over their connection.

01

Bring participants together

Room enrollment and admission control give your shared sessions a defined entry point.

02

Establish peer connections

Peer discovery and WebRTC signaling support the connection process between web clients.

03

Keep control of your infrastructure

Deploy a reference backend on your own infrastructure. The protocol keeps the architecture independent of a single provider.

Connectivity depends on network conditions and your WebRTC configuration. Application state and synchronization remain your application’s responsibility.

02 / GETTING STARTED

Build the experience.
Own the connection.

Start with the client SDK, then choose how to run your signaling backend. A documented protocol connects the pieces.

Explore the source on GitHub
  1. 01

    Integrate the client

    Use the @vefr package family as the entry point for your web application.

  2. 02

    Deploy a backend

    Start with a self-hostable reference implementation. The initial backend targets Cloudflare Durable Objects.

  3. 03

    Connect your participants

    Enroll in a room, discover peers, and establish connections for your application’s shared experience.

03 / GO DEEPER

Built to be understood.

Inspect the code. Understand the protocol.
Make the infrastructure your own.