Comments (8)
Great, just what we need, another peer-to-peer environment that is without
i dont think its helpful or necesarry to drop your sarcasm on my github issue like that.
Addressing and peering in the browser is super hard and while i agree that the standards need to address and solve that issue for us all to be decentralized i think you completely disregard my question in this thread.
lets be on track:
peering in a decentralized manor is hard with gundb, can we use hyperswarm, easypeers etc to make it easier for the moment?
from gun.
from gun.
possibly solved using websocket proxy internally using trystero like here: https://github.com/Dletta/dht-proxy/blob/main/index.html#L58
from gun.
how to use hyperswarm with gundb for peer adresses:
https://github.com/futureproofso/tv/blob/main/buoy/index.js#L57
also mentioned here: Dletta/dht-proxy#3
from gun.
by using a private webtorrent tracker with whitelisted info hash together with trystero and websocket proxy from https://github.com/Dletta/dht-proxy/blob/main/index.html#L58
i think its possible to create an ideal bootstrapping mechanism
from gun.
I have succesfully used gundb with a client side websocket proxy to trystero doing webrrc signalling with a private webtorrent tracker using whitelisted infohashes here:
https://github.com/sloev/saysheep
Take a look in src/db/
It works super great and no data runs through the tracker, only signalling
from gun.
Hey, @sloev , I really like your contribution. Here's why.
First, I don't think there'll ever be standards and protocols for peers speaking to peers. Peers speaking to peers recognize the kind of nation they speak upon, which is a type of out-of-band communication. I'm referring to software ideologies, networking frameworks, or content circulations, and then some. Just look at identical twins: each set have their own communication structure and don't need somebody telling them the foundations or standards to create this peer-to-peer communication.
Second, I think your library and its use of Trystero creates a foundational structure other developers can use. On the GUN Wiki page for Awesome Gun, there's a variety of softwares that people have developed using GUN. It's not up to date. Many cool GUNdb softwares have shown up in the Gitter chat that aren't in that list. People are using GUN in a variety of ways that deserve to be collected so others can decide if they need to reinvent the wheel, or if your wheel is good enough. I like your creation, it shows a variety of features that not only has @amark asked for, but an extensibility that any coder can use.
Finally, I like your work and want you to add a Readme.md, as well as more commentary and code. I think that SaySheep would not just be used by default to connect to peers, it would also be extended and implemented so that other users could create more complex and nuanced peer-to-peer negotiations via the central WebTorrent tracker. I had to take some time to read the code to understand what it does, and I think I have a rudimentary idea. I think if you described the basic use case--'find other GUN peers with a WebTorrent tracker and without using a GUN relay'--you could help other users create true P2P applications via WebTorrent tracker swarming and without a GUN relay storing data for bootstrapping.
Thank you for your work, @sloev !! :D
from gun.
@PhilienTaylor @amark here is a documented example of how to use webtorrent for signalling in gundb using trystero:
https://github.com/sloev/gundb_torrent_signalling
from gun.
Related Issues (20)
- [RAD] I'm completely lost... HOT 9
- If you put data in a key with one gun instance, then change that data on another gun instance, the first instance will be unable to read the change HOT 5
- Unable to use Array.push inside once() HOT 1
- Loading sea.js with importScripts fails in worker HOT 6
- [Bug] _ev.off() disables the entire .map() listener, rather than the individual item HOT 1
- Silent Failure on Incorrect Certificate and Delayed put HOT 1
- How to deploy gun server by Docker? HOT 4
- [Question] Netx.js support? HOT 1
- Why is the source code so bad? HOT 2
- Can not access docs HOT 2
- load() issue HOT 2
- Gun integration with express not working HOT 3
- Once dosen't trigger most of the time, when messages are authenticated to an user. HOT 1
- Gun not working with next.js 14.0.4 HOT 9
- Gun reports all documents always not only changed ones
- Referencing nodes that hold only primitive values HOT 2
- [BUG] Error when importing 'gun/lib/time.js' in nodejs HOT 1
- [BUG] mapping values in gun.user does not work properly HOT 10
- Setup without build tools HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gun.