I built a decentralized, serverless, peer-to-peer private chat app that's open source, ephemeral, and runs entirely in the browser

This page summarizes the projects mentioned and recommended in the original post on /r/programming

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • trystero

    🤝 Build instant multiplayer webapps, no server required — Magic WebRTC matchmaking over BitTorrent, Nostr, MQTT, IPFS, and Firebase

  • Yep you've got a good understanding of the basic architecture! Chitchatter uses Trystero to connect to public WebTorrent servers to find peers. Trystero optionally hashes SDP strings (which peers use to locate each other) with a password. Assuming each peer has matching passwords, the SDP string is decrypted by other peers so that everyone can connect.

  • chitchatter

    Secure peer-to-peer chat that is serverless, decentralized, and ephemeral

  • Thank you! I would definitely appreciate some help with the file sharing functionality. I've got a placeholder ticket for that at https://github.com/jeremyckahn/chitchatter/issues/21, so please comment there if that's something you'd like to work on.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • jeremyckahn

  • Thank you! Audio/video communication and file sharing is on the roadmap: https://github.com/users/jeremyckahn/projects/1

  • fun-animal-names

    Hash strings into fun animal names

  • I don't think it would be too hard to port the library to Python: https://github.com/jeremyckahn/fun-animal-names

  • webtorrent

    ⚡️ Streaming torrent client for the web

  • Nope, Trystro and WebTorrent!

  • ZeroNet

    ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network

  • Reminds me of https://zeronet.io/

  • quick-video

  • Yeah the codes public if you want to look at it: https://github.com/JoshVasilevsky/quick-video

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts