HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
dmotz
trystero
TypeScript2021–2026
dmotz / trystero

trystero

✨🤝✨ Instant peer-to-peer multiplayer for the web — no server required.

17Distinct people
32Mentions
0Explicit recommenders
2.9KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

✨🤝✨ Instant peer-to-peer multiplayer for the web — no server required.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 7:27:27 AM UTC.

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

The discussion centers on whether the project's claim of 'built-in signaling' accurately describes a library that relies on an external, centralized WebSocket server for peer discovery and SDP/ICE exchange. Critics argue this dependency undermines true decentralization and distinguishes the tool from alternatives like Trystero or PeerJS, while the author defends the current architecture as a necessary stepping stone toward a future decentralized network.

31 readable replies · Supporting reply 1 · Supporting reply 2 · Supporting reply 3 · Supporting reply 4

Mentions over time

HN mentions by year32 dated mentions

Observed mentions: 2021-03-04 18:57:58 UTC to 2026-09-20 14:21:50 UTC.

0369122021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 12 mentions; 3 submissions, 9 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 7 mentions; 1 submissions, 6 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 4 mentions; 3 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC211
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC514
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC202
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC1239
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC716
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC431

What Hacker News says

12 sources
Some of you may know ruffle (https://ruffle.rs). Thats an flash emulator that makes it possible to run flash in the browser using javascript. Recently ruffle implemented a way to proxy TCP connections via WebSocket. This needs an extra websocket server that does the proxying. My goal however was to implement multiplayer purely in the browser without an own server. And thats where trystero (https://github.com/dmotz/trystero) comes into play. Trystero uses WebRTC and various signaling mechanisms to allow free decentral communication between browsers. Using those 2 tools and by hooking window.WebSocket i was able to revive an old game from my childhood. BomberPengu! You can find the code and demo here: https://github.com/freehuntx/bomberpengu Im still adding missing functionality to it but some things are already working and im p
Read the rest
retty happy about it :) In the future i will try to revive even more old swf multiplayer games using this technique! Hope some of you found this interesting! Have a nice evening :)
In Revive old flash games using ruffle and trystero
This looks exciting and I'm pleased to see more and more frictionless ways of making p2p apps. I've been building a somewhat similar hobby project [1] that aims to connect peers in the browser by piggybacking on open protocols out on the net (BitTorrent, MQTT, Nostr, IPFS, etc). This project seems to be using Hyperswarm which I've looked at for use as a peering medium but it seems like it's not supported in the browser. I'd love to implement it if that story changes since it's so easy to distribute apps on the web. [1] https://github.com/dmotz/trystero/
In Holepunch Unveils P2P Platform "Pear Runtime"
This is a really nice overview of the nuances of WebRTC. If you want to try this tech at a higher level, I maintain an experimental hobby project that attempts to abstract all the complicated parts of WebRTC into a simple API. Most importantly, it obviates the need to run your own signaling server by piggybacking on various public protocols like torrent trackers or IPFS to match peers. It's well-suited for quick projects/prototypes. https://github.com/dmotz/trystero/
In WebRTC for the Curious (2020)

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.