orbitdb-archive / orbit

A distributed, serverless, peer-to-peer chat application on IPFS
MIT License
1.64k stars 116 forks source link

Namespace the channels #145

Open haadcode opened 7 years ago

haadcode commented 7 years ago

At the moment the channels in orbit are plaintext pubsub topic. We should namespace the channels, eg /orbit.chat/.

@jbenet's proposal: "namespace the pubsub channels you use under some long hash (/devcon2) or a domain name (/devcon2)"

theobat commented 7 years ago

What about namespacing channels based on organizations (following the slack-like email links) ? i.e. if you have a whatever@ipfs.com you could get access to all the /@ipfs/something channels ...

I do believe it would be interesting to keep the non name-spaced channels as well though it's an interesting feature for people without need for "private" (whatever that means) discussions

haadcode commented 7 years ago

@theobat absolutely! This is the idea of namespacing is to be able to limit access. How exactly that happens, no idea :)

Email could be one. Another could be some key-based system. Another could be a "fully managed" solution with blockchain where the organization controls the access.

I do believe it would be interesting to keep the non name-spaced channels as well though it's an interesting feature for people without need for "private"

Agreed.