JavaScript peer-to-peer

Open-source JavaScript projects categorized as peer-to-peer

Top 19 JavaScript peer-to-peer Projects

  • yjs

    Shared data types for building collaborative software

    Project mention: Show HN: Nostr-CRDT – real-time collaborative apps over Nostr | | 2023-02-08

    Hi HN!

    Nostr-CRDT is an experimental project that connects Yjs [1] (a proven, high performance CRDT) with Nostr [2].

    I wanted to learn about the Nostr protocol and see if it'd be possible to send updates to state (e.g.: edits of a rich text document, updates to a todo list) over Nostr.

    Nostr describes itself as "The simplest open protocol that is able to create a censorship-resistant global "social" network once and for all.".

    I like the idea of a decentralized social network, but what if we can decentralize more kinds of apps and create decentralized, local-first collaborative applications? I've been exploring this area for a while and earlier shared a Show HN post that does this over Matrix [3].

    There's still lots to figure out, but imo it's a very exciting and rapidly developing space - looking fwd to your thoughts already!




    PS: for an instant demo you can open this link and click the green button to load the doc and connect over Nostr (using a new anonymous account):

  • Laverna

    Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.

    Project mention: GitNoter alternatives - Laverna, Standard Notes, takenote, gitnote, and OpenNote | | 2022-04-25
  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • orbit-db

    Peer-to-Peer Databases for the Decentralized Web

    Project mention: orbit-db VS db3 - a user suggested alternative | | 2023-01-15
  • ipfs

    IPFS implementation in JavaScript

    Project mention: How to store your app's entire state in the url | | 2023-01-09

    Store the content in ipfs and just put the hash in the URL? I haven't used in this capacity but I'm under the impression that that's what it's supposed to do.

  • sharedrop

    Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop

    Project mention: Looking for a way to directly sent files over the internet, P2P | | 2023-02-08

    Haven't tried them, but it might be worth giving a shot to one of these P2P "shares" using WebRTC, like this one.

  • trystero

    🤝 Serverless WebRTC matchmaking for painless P2P — Make any site multiplayer in a few lines — Use BitTorrent, IPFS, or Firebase

    Project mention: UnCloud project: WebRTC chat, file transfer, and remote observation | | 2022-12-18

    Yes, this is a major issue that I haven't found a real solution for. There seems to be a mixture of iOS Safari bugs and intentional design limitations at play, and I don't know if a fully P2P web app like Chitchatter is practical on that platform. There's an open issue to improve this in Trystero (the networking library that Chitchatter uses), but there may be a limit to how stable iOS will be with WebRTC apps. 😕

  • Video-Meeting

    Google Meet / Zoom clone in a few lines of code

    Project mention: Switching from ws to to make development faster | | 2022-02-14

    Yeah I def see your point. I am using this open source repo to introduce webRTC functionality to my own app. They use in it. It's faster for me to use what others have built then building everything from scratch. I have taken a look at a lot of the popular open source projects (such as Miro) and it's just easier to piggyback of their setup which use socket io.

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • sentinel

    Sentinel is an interoperable secure network layer offering the Sentinel Service Chain exclusively for distributed & decentralized native services like - dVPN, Sentrix (dChat and dVoIP) and more. (by sentinel-official)

    Project mention: Wen Windows-based Desktop dVPN? | | 2022-09-26
  • field-manual

    The Offical User's Guide to OrbitDB

  • depict-it

    a hilarious peer to peer drawing game built with vue.js using Ably channels.

    Project mention: Create a quizz web app | | 2022-08-08

    I made a demo of a peer to peer style game with VueJS (but it is vue2 sorry, cos I did it a while ago) It is open source, please take it if it is helpful! It uses Ably to do the websockets, which does the client/server communication with pub/sub. They have a pretty generous free account offering. There's a pretty thorough readme in the repo and I talk through it in this vid if you prefer:

  • zoom-clone-2.0

    A full-stack Zoom-Clone where users can join a meeting or Host a meeting with their name on the Intro Page with all other basic features of zoom

  • pacman-backup

    :floppy_disk: Pacman Backup tool for off-the-grid updates via portable USB sticks or (mesh) LAN networks.

  • nostr-emitter

    An end-to-end group encrypted event emitter, built on the Nostr protocol.

    Project mention: Nostr is a stupid simple P2P protocol that works, built by builders | | 2022-11-25

    * Nostr is powerful enough to host chat apps very easily. Here is a rip of Telegram, running on Nostr:

    * There's a lot of fun things you can do with Nostr. Check out all these cool projects!

    * We are constantly discussing how to improve the protocol. Come join the conversation here:

  • Membrane

    A robust, minimal-server-interaction API for peer routing in the browser (by Elijah-Bodden)

    Project mention: Show HN: Easily create robust, lightweight, browser-based P2P networks | | 2022-08-17
  • riddle

    Peer to peer collaborative whiteboard built on NKN

  • stareye

    Time races with two phones

    Project mention: Stareye: Time Races with Two Phones | | 2022-10-23
  • PeerMeeting

    Simple scalable peer to peer (2+) video conference server

  • reverse

    A decentralized Twitter-like social media site. (by bennyschmidt)

    Project mention: I made a decentralized Twitter-like site | | 2022-11-19

    2 instances are currently live, the underlying blockchain is a no-fee, peer-to-peer technology I created for decentralized content like this (Decentralized Record of Value or "DRV").

    GitHub Repo:

  • dropit

    PWA shares your files locally at ease

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

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). The latest post mention was on 2023-02-08.

JavaScript peer-to-peer related posts


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

Project Stars
1 yjs 10,558
2 Laverna 8,984
3 orbit-db 7,456
4 ipfs 7,276
5 sharedrop 6,117
6 trystero 489
7 Video-Meeting 484
8 sentinel 300
9 field-manual 195
10 depict-it 63
11 zoom-clone-2.0 34
12 pacman-backup 33
13 nostr-emitter 20
14 Membrane 13
15 riddle 10
16 stareye 9
17 PeerMeeting 6
18 reverse 5
19 dropit 4
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.