ssbc / docs

Documentation repo

Home Page:https://ssbc.github.io/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a better way for creating a client?

pfrazee opened this issue · comments

https://github.com/ssbc/docs/blob/master/intro-to-using-sbot.md#create-client

This is the current instructions... @dominictarr I know you're working on this, but is there something immediately better we can do? It's a bit ugly.

firstly, you shouldn't access deps of deps, that probably won't work with npm@3, if you depend on it, put it in your package.json.

We could probably simplify some of those, or wrap the boiler plate in something...

What is the motivation for easier client setup?

What is the motivation for easier client setup?

Just so it looks nicer to newcomers.

Right, so simpler to document. I think we had a library for that called ssb-client but it got old because we wern't actually using it for anything. If we are documenting something we have to maintain it and we won't maintain it unless we are using it. It would be better to have verbose documentation if we arn't gonna use that way.

Ok yeah I'll update ssb-client