-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easily replicating between two scuttlebutts? #148
Comments
You could pull this off with just a bit of glue code. normally, replication is automatic, and is trigged when sbot realizes it's connected to another peer. What is your goal here? it would be best if we made pubs act like the "signal hub", and then that is also more decentralized than using a specific server to introduce your peers. |
Well, I was hoping to use secure-scuttlebutt without sbot, since I want to use a different network layer. Specifically, I would like to be able to replicate feeds without any invites taking place. Also, the ssb replication logic seems to contain some math governing how much of the feed to replicate, and I'd like to replace that with my own logic. That said, I think I might end up using hypercore instead of secure-scuttlebutt, since it seems to be better suited to my use case. Yeah... webrtc is a pain. I assume you've seen electron-webrtc? Maybe that would be a useful building block. |
ah, right. it would depend on what sort of application you are building. it is relatively simple to disable particular parts of scuttlebot, since most of those features - replication patterns, etc, are controlled by plugins. what sort of application are you building? |
Oh, I didn't see |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm interested in using secure-scuttlebutt as part of a P2P project I'm working on. One thing that I'd like to be able to do is to easily pipe two scuttlebutts together to make them replicate with each other, maybe like how hypercore does it. That way, I can connect them using something like discovery-swarm or webrtc-swarm. Is there currently code that makes it easy to do this? I see that there's a replicate.js file in the scuttlebot project, but I'm interested in something more general. I'm guessing that I might need to write a new library to do this, which is fine with me.
The text was updated successfully, but these errors were encountered: