dmotz/trystero
View on GitHub ↗ ★ 2,822 TypeScript
✨🤝✨ Build instant multiplayer webapps, no server required — Magic WebRTC matchmaking over BitTorrent, Nostr, MQTT, IPFS, Supabase, and Firebase
32 mentions on Hacker News by 17 people: 9 stories, 23 comments · first 2021-03-04 · latest 2026-09-20
20082026
-
▲ 1
Trystero Build instant multiplayer web apps, no server requiredstory by Bluestein · 2026-09-20 · 0 comments
-
▲ 2
Trysterostory by tibbar · 2026-08-11 · 0 comments
-
…(such as Nostr, BitTorrent, Supabase etc.) - maybe a future project to combine the two. [0]: https://github.com/dmotz/trystero?tab=readme-ov-file#how-it-...
comment by littlecranky67 · 2026-06-11 · in Macaroni – a single HTML file messenger -
▲ 2
Trystero – Browser P2P Librarystory by rickcarlino · 2026-05-02 · 0 comments
-
I have the same fascination. You might find https://github.com/dmotz/trystero quite interesting - it's fun to play around with, also can use torrent DHT for discovery.
comment by 1dom · 2025-09-29 · in Show HN: Every single torrent is on this website -
…stumbling block of WebRTC is the signaling server stuff. STUN/TURN is honestly pretty trivial [0] https://github.com/dmotz/trystero/blob/65fa48e33c82a7d0fa627...
comment by valorzard · 2025-09-12 · in Show HN: Making a cross-platform game in Go using WebRTC Datachannels -
https://github.com/dmotz/trystero is the closest we currently have.
comment by jckahn · 2025-09-09 · in A cryptography expert on how Web3 started, and how it’s going -
https://github.com/dmotz/trystero Direct link to the underlying source code.
comment by dmotz · 2025-08-29 · in Make any site multiplayer in a few lines. Serverless WebRTC matchmaking -
▲ 1
Build instant multiplayer webapps, no server requiredstory by janandonly · 2025-08-29 · 0 comments
-
…haywire when punching thru NAT and I wish there was more research into what the best methods are. https://github.com/dmotz/trystero is a one tool I've used to build these kinds of apps.
comment by evbogue · 2025-06-01 · in Show HN: Open-source P2P file transfer -
Trystero can do this: https://github.com/dmotz/trystero?tab=readme-ov-file#audio-a... You'd need to make a UI for it
comment by evbogue · 2025-04-14 · in Ask HN: Why is there no P2P streaming protocol like BitTorrent? -
Check out Trystero[1], it makes WebRTC super simple to develop with. [1] https://github.com/dmotz/trystero
comment by evbogue · 2024-11-02 · in Direct Sockets API in Chrome 131 -
I am also curious about the progress on this feature: https://github.com/dmotz/trystero/issues/24 for more info
comment by evbogue · 2024-08-03 · in Peerfetch – Peer-to-Peer HTTP over WebRTC -
You might be interested in my side project Trystero https://github.com/dmotz/trystero It abstracts away the work of signaling and connects peers via open decentralized networks like BitTorrent, Nostr, MQTT, IPFS, etc.
comment by dmotz · 2024-08-02 · in Peerfetch – Peer-to-Peer HTTP over WebRTC -
If we're talking about great p2p WebRTC libraries, try Trystero: https://github.com/dmotz/trystero
comment by evbogue · 2024-08-02 · in Peerfetch – Peer-to-Peer HTTP over WebRTC -
…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…
comment by freehuntx · 2024-06-12 · in Revive old flash games using ruffle and trystero -
▲ 3
Trystero – Real-time WebRTC for webapps without a central serverstory by stevekrouse · 2024-05-07 · 0 comments
-
…use WebRTC for peer to peer connections. Bypass the server entirely and use it only for signaling. https://github.com/dmotz/trystero
comment by _factor · 2024-04-05 · in Cloudflare acquires PartyKit to allow developers to build real-time multi-user -
▲ 3
Trystero – Build instant multiplayer webapps, no server requiredstory by michaelsbradley · 2024-03-29 · 0 comments
-
…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/
comment by dmotz · 2024-02-14 · in Holepunch Unveils P2P Platform "Pear Runtime" -
…It seems designed for video calling, but there are lots of cool use cases - I recently ran across https://github.com/dmotz/trystero , a dead simple WebRTC library for peer-to-peer multiplayer browser games.
comment by Tactician_mark · 2024-01-23 · in What if serverless meant no backend servers? -
▲ 3
Trystero: Serverless WebRTC matchmaking for painless P2Pstory by thunderbong · 2024-01-05 · 0 comments
-
…like torrent trackers or IPFS to match peers. It's well-suited for quick projects/prototypes. https://github.com/dmotz/trystero/
comment by dmotz · 2024-01-05 · in WebRTC for the Curious (2020) -
I strongly endorse Trystero ( https://github.com/dmotz/trystero ) for enabling P2P communication in web apps. It’s open source and leverages public infrastructure for matchmaking.
comment by jckahn · 2023-10-18 · in Reflect – Multiplayer web app framework with game-style synchronization -
…https://emdash.ai My attempt to get more out of all my ebook highlights using on-device AI. https://github.com/dmotz/trystero My attempt at making it as easy as possible to add p2p to a web app (no server required). A "jQuery for WebRTC"…
comment by dmotz · 2023-10-12 · in Ask HN: Show me your half baked project -
…without the hassle of running your own server anywhere. I built a library that explores this idea: https://github.com/dmotz/trystero And here's how it talks to WebTorrent servers to bootstrap peer connections:…
comment by dmotz · 2022-11-29 · in WebTorrent -
▲ 2
Serverless WebRTC matchmaking for painless P2Pstory by jckahn · 2022-11-29 · 1 comment
-
I'm using https://github.com/dmotz/trystero for all the networking, and I don't think it supports p2pcf. If that existed a connection strategy for Trystero, I'd be open to experimenting with it!
comment by jckahn · 2022-09-06 · in Show HN: Chitchatter – P2P chat app that is serverless, decentralized, ephemeral -
Thanks for checking out the project! Chitchatter uses https://github.com/dmotz/trystero for peer connectivity, which doesn't support Tor. I don't know how Tor would be supported in a typical web browser. Have you seen Tor being used…
comment by jckahn · 2022-09-06 · in Show HN: Chitchatter – P2P chat app that is serverless, decentralized, ephemeral -
https://github.com/dmotz/trystero#how-it-works You always need some kind of centralization for discovery with WebRTC.
comment by nl · 2022-09-06 · in Show HN: Chitchatter – P2P chat app that is serverless, decentralized, ephemeral -
I recently wrote a library to abstract away the tedious aspects of WebRTC called Trystero: Repo: https://github.com/dmotz/trystero Demo: https://oxism.com/trystero/ The goal is to allow adding P2P/multiplayer to your web app in a few lines…
comment by dmotz · 2021-05-16 · in Ask HN: What are some tools / libraries you built yourself? -
▲ 3
Show HN: Serverless WebRTC matchmaking for P2P in a few linesstory by dmotz · 2021-03-04 · 0 comments