this post was submitted on 19 Jun 2024
14 points (100.0% liked)

Open Source

31075 readers
636 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

p2p.positive-intentions.com

github.com/positive-intentions/p2p

a thin wrapper around peerjs with some functionalities for "intuitive" p2p communication.

this is a lighweight version of what is being used in our chat app. it will be developed with the aim to replace what is being used.

this is early development on this and it's missing all the bells-and-whistles seen in the chat app. It's an unstable experimental work-in-progress. it may contain bugs and/or incomplete features. provided for demo and educational purposes only.

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 4 months ago (2 children)

Cool project! Theres a p2p chat protocol called tox, maybe you'd like to implement it in WASM etc. instead of making a competing standard? That would really help establishing p2p messaging, and you'd get a userbase included!

[–] [email protected] 1 points 4 months ago

Thanks. I've come across tox before. It's a good implementation. The aim of my project is not to compete, but more to demonstrate a different approach to P2P technology.

A key detail in mine is that it's made to work in a typical web browser. While things like chat functionality can be demonstrated in our app. The app is capable to do things like shared xr spaces and shared filesystems... Unfortunately those features are still in need of refinement before they become appealing to users, but it works for a proof-of-concept.