cabal-club / cabal-desktop

Desktop client for Cabal, the p2p/decentralized/local-first chat platform.
https://cabal.chat
GNU Affero General Public License v3.0
843 stars 77 forks source link

Browser version? #323

Closed vitaly-zdanevich closed 2 years ago

vitaly-zdanevich commented 2 years ago

If this is JavaScript - this is mean that it can works inside web browser?

ralphtheninja commented 2 years ago

In theory yes, but you need a server so the browser can find peers, which isn't needed with cabal-desktop since it can connect to a hyperswarm without any server.

vitaly-zdanevich commented 2 years ago

but you need a server

Service worker?

ralphtheninja commented 2 years ago

Service worker?

A websocket server or similar running e.g. hyperswarm-web.

vitaly-zdanevich commented 2 years ago

In browser you can use WebSockets.

Browser version is more secure because of the sandbox, this is more dangerous to install dedicated software.

dorkmo commented 2 years ago

would browser work on smart phone?