Hacker GitHub

← All repos

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

Mentions per year 32 mentions · busiest year 2024 (12)
20082026
  1. ▲ 1
    Trystero Build instant multiplayer web apps, no server required
    story by Bluestein · 2026-09-20 · 0 comments
  2. ▲ 2
    Trystero
    story by tibbar · 2026-08-11 · 0 comments
  3. …(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
  4. ▲ 2
    Trystero – Browser P2P Library
    story by rickcarlino · 2026-05-02 · 0 comments
  5. 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.
  6. …stumbling block of WebRTC is the signaling server stuff. STUN/TURN is honestly pretty trivial [0] https://github.com/dmotz/trystero/blob/65fa48e33c82a7d0fa627...
  7. https://github.com/dmotz/trystero is the closest we currently have.
  8. https://github.com/dmotz/trystero Direct link to the underlying source code.
  9. ▲ 1
    Build instant multiplayer webapps, no server required
    story by janandonly · 2025-08-29 · 0 comments
  10. …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
  11. Trystero can do this: https://github.com/dmotz/trystero?tab=readme-ov-file#audio-a... You'd need to make a UI for it
  12. 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
  13. I am also curious about the progress on this feature: https://github.com/dmotz/trystero/issues/24 for more info
  14. 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.
  15. If we're talking about great p2p WebRTC libraries, try Trystero: https://github.com/dmotz/trystero
  16. …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…
  17. ▲ 3
    Trystero – Real-time WebRTC for webapps without a central server
    story by stevekrouse · 2024-05-07 · 0 comments
  18. …use WebRTC for peer to peer connections. Bypass the server entirely and use it only for signaling. https://github.com/dmotz/trystero
  19. ▲ 3
    Trystero – Build instant multiplayer webapps, no server required
    story by michaelsbradley · 2024-03-29 · 0 comments
  20. …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/
  21. …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?
  22. ▲ 3
    Trystero: Serverless WebRTC matchmaking for painless P2P
    story by thunderbong · 2024-01-05 · 0 comments
  23. …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)
  24. 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.
  25. …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"…
  26. …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
  27. ▲ 2
    Serverless WebRTC matchmaking for painless P2P
    story by jckahn · 2022-11-29 · 1 comment
  28. 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!
  29. 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…
  30. https://github.com/dmotz/trystero#how-it-works You always need some kind of centralization for discovery with WebRTC.
  31. 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…
  32. ▲ 3
    Show HN: Serverless WebRTC matchmaking for P2P in a few lines
    story by dmotz · 2021-03-04 · 0 comments