JavaScript P2P

Open-source JavaScript projects categorized as P2P

Top 23 JavaScript P2P Projects

  1. webtorrent

    ⚡️ Streaming torrent client for the web

    Project mention: Ask HN: Streaming a Bittorent Video from a Webpage? | news.ycombinator.com | 2025-11-29

    WebTorrent works on the browser but I'm not sure if this is what you're asking for

    https://webtorrent.io/

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. yjs

    Shared data types for building collaborative software

    Project mention: Centralized vs. Decentralized: Why Modern Collaborative Tools choose CRDTs | dev.to | 2026-05-28

    In the architecture of my Collaborative-Code-Editor, choosing CRDTs over OT gives me the advantage of not depending on a server for my data conflicts. Using Yjs as my CRDT library, not only fixes the problems OT arises but comes with additional features. A unique identifier keeps track of the characters' identity, and relative addressing that points to the character position in my code editor. The relative position matters because when working with other real-time data types that use indices, you will encounter stale data when inserting. In other words, when two users add character at the same time it will be inserted relative to the left and right parents rather than its place in the document.

  4. gun

    An open source cybersecurity protocol for syncing decentralized graph data.

    Project mention: Gun: An Ecosystem of Tools for Distributed Applications | dev.to | 2026-02-16

    Documentation

  5. ZeroNet

    ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network

    Project mention: ZeroNet: Peer to Peer Darknet | news.ycombinator.com | 2026-03-27
  6. webtorrent-desktop

    ❤️ Streaming torrent app for Mac, Windows, and Linux

  7. orbitdb

    Peer-to-Peer Databases for the Decentralized Web

  8. simple-peer

    📡 Simple WebRTC video, voice, and data channels

  9. ipfs-desktop

    An unobtrusive and user-friendly desktop application for IPFS on Windows, Mac and Linux.

  10. mirotalk

    🚀 Self-hosted open-source WebRTC video conferencing platform built on peer-to-peer (P2P) architecture for fast, secure real-time communication with end-to-end privacy.

  11. instant.io

    🚀 Streaming file transfer over WebTorrent (torrents on the web)

  12. tl-rtc-file

    WebRTC P2P online web media streaming tool (for files, video, screen, live streaming, text) with management and statistical monitoring capabilities.

  13. ufonet

    UFONet - Denial of Service Toolkit

  14. ipfs-companion

    Browser extension that simplifies access to IPFS resources on the web

  15. ipfs-webui

    A frontend for an IPFS Kubo and IPFS Desktop

  16. torrent-mount

    Mount a torrent (or magnet link) as a filesystem in real time using torrent-stream and fuse. AKA MAD SCIENCE!

  17. webtorrent-cli

    WebTorrent, the streaming torrent client. For the command line.

  18. bittorrent-dht

    🕸 Simple, robust, BitTorrent DHT implementation

  19. aether

    Aether client app with bundled front-end and P2P back-end

    Project mention: Peer-to-peer ephemeral public communities | news.ycombinator.com | 2025-11-20
  20. reticulum-meshchat

    A simple mesh network communications app powered by the Reticulum Network Stack.

    Project mention: Reticulum, a secure and anonymous mesh networking stack | news.ycombinator.com | 2026-01-19

    it hit version 1.0.0 this summer and it works!

    to get started easily, check out meshchat:

    https://github.com/liamcottle/reticulum-meshchat

    or sideband on android:

    https://github.com/markqvist/Sideband

    you can already send photos and voice chat over lora, and when lora runs out of bandwidth or if there’s no link, the protocol can seamlessly go over any other link type.

  21. ViralJS

    Express.JS middleware to enable P2P distribution for your app. Your decentralized CDN made easy.

  22. cabal-desktop

    Desktop client for Cabal, the p2p/decentralized/local-first chat platform.

  23. agregore-browser

    A minimal browser for the distributed web (Desktop version)

  24. FileNation

    The simplest way to send your files around the world using IPFS. ✏️ 🗃

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript P2P discussion

Log in or Post with

JavaScript P2P related posts

  • ZeroNet: Peer to Peer Darknet

    1 project | news.ycombinator.com | 27 Mar 2026
  • Building a P2P Collaborative Whiteboard with GenosDB in a Single HTML File

    1 project | dev.to | 17 Feb 2026
  • Gun: An Ecosystem of Tools for Distributed Applications

    2 projects | dev.to | 16 Feb 2026
  • Peerweb: Decentralized website hosting via WebTorrent

    10 projects | news.ycombinator.com | 30 Jan 2026
  • Peer-to-peer ephemeral public communities

    1 project | news.ycombinator.com | 20 Nov 2025
  • Introducing GenosDB: a P2P Graph Database with Built-In Zero-Trust Security

    1 project | dev.to | 14 Oct 2025
  • Make any site multiplayer in a few lines. Serverless WebRTC matchmaking

    2 projects | news.ycombinator.com | 29 Aug 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source P2P projects in JavaScript? This list will help you:

# Project Stars
1 webtorrent 31,010
2 yjs 22,015
3 gun 19,054
4 ZeroNet 18,749
5 webtorrent-desktop 10,070
6 orbitdb 8,792
7 simple-peer 7,791
8 ipfs-desktop 6,535
9 mirotalk 4,593
10 instant.io 3,582
11 tl-rtc-file 2,639
12 ufonet 2,464
13 ipfs-companion 2,157
14 ipfs-webui 1,628
15 torrent-mount 1,413
16 webtorrent-cli 1,352
17 bittorrent-dht 1,275
18 aether 1,251
19 reticulum-meshchat 1,071
20 ViralJS 955
21 cabal-desktop 915
22 agregore-browser 915
23 FileNation 865

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that JavaScript is
the 5th most popular programming language
based on number of references?