HN Hall of Fame Weekly email

PeerJS – Simple peer-to-peer with WebRTC

peerjs.com Software & code Software projects Web & internet Candidate
Screenshot of peerjs.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 6 calendar years, with breakout response in 2 of them.

submissions
7
submitters
7
observed span
2013–2022
peak thread · 97 comments
214 pts
latest 20+ return · 2021-01-06
214 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Fun fact about PeerJS, you'll need a server in order to use it (look into STUN/TURN/ICE for more info). The maintainer seems to be hosting one default instance that goes down from time to time. https://github.com/peers/peerjs/issues/671 https://github.com/peers/peerjs/issues/693 If you're looking to do "pure" P2P in the browser, we're not there yet as we cannot accept incoming connections without something in between right now.

> Note that no peer-to-peer data goes through the server; The server acts only to broker connections. Q1. Does this support connecting to a peer behind a NAT device? Q2. Does this support connecting two peers each behind its own NAT? Because a vast majority of real world cases will fall into either of these two categories.

Peerjs is dead, simple-peer(https://github.com/feross/simple-peer) is more of a maintained one.

villgax·95-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
429

reference only — not used in Hall rules or ranking

Total comments
133

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2013-02-14PeerJS — True peer-to-peer data in the browserFirst breakoutandrewnez11024
2015-03-21Browser to browser with JavaScriptfranciscop20
2015-07-15PeerJS: WebRTC peer-to-peer data, video, and audio callslobo_tuerto30
2017-09-26PeerJS simplifies WebRTCEGreg10
2019-03-30PeerJS simplifies WebRTC peer-to-peer data, video, and audio callsbased29512
2021-01-06PeerJS – Simple peer-to-peer with WebRTCBest thread · Latest 20+ point returncaminocorner21497
2022-10-24PeerJS – Simple peer-to-peer with WebRTCthunderbong40