ssbc / ssb-server

The gossip and replication server for Secure Scuttlebutt - a distributed social network
1.69k stars 164 forks source link

Is there a server2? #759

Open nichoth opened 2 years ago

nichoth commented 2 years ago

Is there something like this, a globally installable sbot CLI tool, but using ssb-db2? If not I may fork and create something like that.

austinfrey commented 2 years ago

@nichoth i haven't seen one. i think the general consensus has been that a new project should be started. looking at this repo, you might be better served starting from scratch with secret-stack, ssb-db2, and ssb-conn. might be a bit of a mess trying to get it up and running with a fork of this distro

staltz commented 2 years ago

I agree with @austinfrey! :)

nichoth commented 2 years ago

thanks everyone. That sounds good as that's more-or-less what I've got now -- a secret stack + db2 setup. Just need to add provisions for a CLI interface and make it globally installable.

clehner commented 2 years ago

Why not update ssb-server to use db2? It previously had a migration process to use flume.

nichoth commented 2 years ago

update ssb-server to use db2? It previously had a migration process to use flume

That's a good idea. My concern is if anything breaks that uses the current ssb-server. I think I will start forking & updating and see how it goes.

nichoth commented 2 years ago

I've started this one -- https://github.com/planetary-social/ssb-server2/tree/initial

however, it's difficult to get muxrpc working correctly. If i run node test/cli.js, it returns

Error: method:publish is not in list of allowed methods

any help is appreciated

I tried forking this repo and replacing ssb-db with ssb-db2, but that didn't work at all too.

The idea is to have basically a reference implementation of ssb-db2 with the standard secret-stack modules. If anyone would rather we put the repo under a different github org, that is fine too; although I don't think I'm a member of anything else relevant.