planetary-social / planetary-pub

A pub
MIT License
7 stars 0 forks source link

make server2 cli interface for viewer using ssb-db2 #12

Open nichoth opened 2 years ago

nichoth commented 2 years ago

A module like ssb-server, but using ssb-db2.

That way you can do npm i -g server2

nichoth commented 2 years ago

There is an issue with getting the basic RPC part to work.

https://github.com/ssbc/ssb-client/issues/58

https://github.com/planetary-social/ssb-server2/issues/1

Could maybe create a muxrpc interface locally that does not authenticate any calls since it is local.

Need

see node-ipc

the remote address in ssb-client

Should do that, but without the SHS part, just a muxrpc stream on localhost.


an example of muxrpc over websockets

Should do that, but with the net module maybe