What is webrpc?

P2P connectivity with an RPC mindset — ship global device links without owning NAT traversal.

200ms

Typical handshake completion

QUIC

Native transport and traversal layer

E2E

Encrypted communication path

1:1

Token-to-device mapping

Product definition

webrpc (Web RPC over P2P) is developer infrastructure for peer-to-peer communication across NATs and complex networks. It is not a message-relay SaaS that stores your payloads: peers connect directly when possible, with encrypted transport. The product surface is intentionally RPC-like so application teams focus on business calls instead of STUN/TURN, hole punching, reconnect loops, and multi-platform sockets.

webrpc is a cross-platform P2P communication system that wraps hole punching, session management, and encrypted transport behind familiar RPC-style calls. If you understand calling a remote method, you can integrate webrpc quickly.

Complexity stays below the API

Building global P2P yourself usually means months of network engineering. webrpc collapses that stack into a small set of client APIs.

How it works

A token identifies an endpoint. After login, the SDK establishes encrypted P2P sessions and exposes a local callback channel so your process receives data with session IDs — then you reply with SendData like returning from an RPC.

Built for real product teams

RPC-shaped API

Create client, wait for login, open a session, send bytes or files — without designing a custom wire protocol.

Cross-platform SDKs

Native libraries for Linux, Windows, macOS, Android, and iOS, with language guides for Go, C/C++, Java, Rust, Python, PHP, and more.

Network complexity abstracted

NAT traversal, weak-network retries, and transport encryption stay inside the SDK so product code stays readable.

Direct-path economics

Prefer peer-to-peer paths to use edge bandwidth efficiently — suited to media, files, and continuous telemetry.

Where webrpc fits

Choosing a P2P stack for a personal cloud drive is different from picking a media engine or a networking research toolkit.

Approach Engineering cost Developer experience Best fit
WebRTC High for file apps Strong for A/V; signaling + file protocol still yours Browser realtime media
libp2p High Powerful networking toolkit; app integration is DIY Custom P2P protocol stacks
Classic RPC + public IP / port mapping Medium Familiar APIs, but home/NAT hosts are painful Servers with stable reachability
webrpc Low for app teams Ready multi-platform SDK; RPC-style send/recv Personal NAS / private cloud without public IP

Built for “no public IP” personal cloud

If your goal is a personal NAS / private cloud drive that works from phones and PCs without buying a public IP or wrestling with router port mapping, webrpc is designed as the transport SDK underneath that product: multi-platform native libraries, multi-language bindings, and RPC-style send/receive so your app focuses on files and auth—not hole punching.

  1. Fast connection setup: in most network conditions, handshake completes within about 200 ms.
  2. Secure and stable transport: QUIC-based channels are encrypted by default and tolerate weak networks better.
  3. High bandwidth efficiency: make full use of local uplink/downlink for video, images, and large files.
  4. Transparent pricing: token service fees only; typically one token maps to one device.

Typical use cases

Private messaging

Build chat/IM with end-to-end secure delivery and less middlebox exposure of message content.

Remote monitoring

Authorized-only camera and sensor streams with lower reliance on always-on media relays.

Remote robotics

Low-latency commands plus encrypted telemetry for logistics, factories, and hazardous sites.

FAQ

q1

a1

q2

a2

q3

a3

q4

a4

q5

a5

q6

a6

q7

a7