Peer-to-peer WebRTC connections with built-in signaling and discovery
Repository · https://github.com/lukks/like-webrtc
First seen by Oriel on .
AI summary
like-webrtc is an MIT-licensed library for peer-to-peer WebRTC connections with built-in signaling, cryptographic identities, topic-based peer discovery, and browser, Node.js, and React Native support.
- Peers can listen on Base58-encoded public-key addresses, connect directly across networks, or discover and join groups and swarms through shared topics.
- Its familiar server API returns RTCPeerConnection objects, supporting data channels, audio/video tracks, transceivers, firewalls, and duplex stream wrappers.
- The default infrastructure includes one E2E Noise-encrypted WebSocket signaling server, three STUN servers, and one TURN server supporting UDP and TCP.
- Topic announcements require refreshing and may briefly identify offline peers; joined connections retry after 1, 5, and 15 seconds, then every 10 minutes.
- Configuration supports custom signaling, key pairs, deterministic seeds, ICE servers, transport policy, trickle ICE, and alternative RTCPeerConnection and RTCIceCandidate implementations.
#webrtc #peer-to-peer #peer discovery #signaling
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 79, latest observation ; +72 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 19, latest observation ; +15 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50416640 | https://github.com/lukks/like-webrtc Read discussion |