ssb-server icon indicating copy to clipboard operation
ssb-server copied to clipboard

Is there a server2?

Open nichoth opened this issue 3 years ago • 6 comments

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.

nichoth avatar Dec 28 '21 17:12 nichoth

@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

austinfrey avatar Dec 30 '21 02:12 austinfrey

I agree with @austinfrey! :)

staltz avatar Dec 30 '21 09:12 staltz

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.

nichoth avatar Dec 30 '21 16:12 nichoth

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

clehner avatar Jan 20 '22 17:01 clehner

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 avatar Jan 20 '22 19:01 nichoth

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.

nichoth avatar Jan 21 '22 04:01 nichoth