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! Learn more →
Top 19 JavaScript peer-to-peer Projects
-
Project mention: Show HN: Nostr-CRDT – real-time collaborative apps over Nostr | news.ycombinator.com | 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!
[1] https://github.com/yjs/yjs
[2] https://github.com/nostr-protocol/
[3] https://news.ycombinator.com/item?id=29978659
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): https://nostr-crdt-yousefed.vercel.app/#room=6d749539e1dd9ef...
-
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 | libhunt.com/r/gitnoter | 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!
-
Project mention: orbit-db VS db3 - a user suggested alternative | libhunt.com/r/orbit-db | 2023-01-15
-
Project mention: How to store your app's entire state in the url | news.ycombinator.com | 2023-01-09
Store the content in ipfs and just put the hash in the URL? I haven't used https://github.com/ipfs/js-ipfs in this capacity but I'm under the impression that that's what it's supposed to do.
-
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 | reddit.com/r/WebRTC | 2022-12-18Yes, 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. 😕
-
Project mention: Switching from ws to socket.io to make development faster | reddit.com/r/javascript | 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 socket.io 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)
-
-
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) https://github.com/ably-labs/depict-it 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: https://www.youtube.com/watch?v=mE7cgvcuZig
-
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.
-
Project mention: Nostr is a stupid simple P2P protocol that works, built by builders | news.ycombinator.com | 2022-11-25
https://github.com/cmdruid/nostr-emitter
* Nostr is powerful enough to host chat apps very easily. Here is a rip of Telegram, running on Nostr:
https://anigma.io
* There's a lot of fun things you can do with Nostr. Check out all these cool projects!
https://github.com/aljazceru/awesome-nostr
* We are constantly discussing how to improve the protocol. Come join the conversation here:
https://t.me/nostr_protocol
-
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 | news.ycombinator.com | 2022-08-17 -
-
-
-
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: https://github.com/bennyschmidt/reverse
-
-
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.
JavaScript peer-to-peer related posts
- Ask HN: Why is AirDrop so slow?
- What app/tool do you use to transfer images from your iOS device and your Windows laptop?
- LocalSend: cross-platform alternative to AirDrop and SnapDrop
- File transferring app?
- AirDrop has been disabled by my work - any way around this?
- Alternative to Toffeeshare?
- i need help with google drive
-
A note from our sponsor - Appwrite
appwrite.io | 9 Feb 2023
Index
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 |