like-webrtc lets browsers act as peer-to-peer servers with built-in signaling

Peer-to-peer WebRTC connections with built-in signaling and discovery

A JavaScript library that wraps WebRTC with automatic SDP/ICE negotiation, cryptographic peer addresses instead of IPs, and topic-based peer discovery. It works across browsers, Node.js, and React Native, ships with default STUN and TURN servers, and offers a Node.js http-style API for creating servers and connecting to peers directly. A P2P Discord clone built in 48 hours serves as the live demo.

A familiar API like Node.js http, but peer-to-peer and running directly in your browser.
  1. just_mc

    At first glance, it seems extremely similar to PeerJS.

  2. totetsu

    I just found cloudflare conveniently has some free tier TURN and STUN server allowance.

  3. dirkc

    Do I understand correctly that this is normal webRTC with a custom signaling server using private/public key cryptography, and STUN and TURN servers I can use?

More from this day

2026-11-11