Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser version? #323

Closed
vitaly-zdanevich opened this issue Feb 5, 2022 · 5 comments
Closed

Browser version? #323

vitaly-zdanevich opened this issue Feb 5, 2022 · 5 comments

Comments

@vitaly-zdanevich
Copy link

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

@ralphtheninja
Copy link
Member

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
Copy link
Author

but you need a server

Service worker?

@ralphtheninja
Copy link
Member

Service worker?

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

@vitaly-zdanevich
Copy link
Author

vitaly-zdanevich commented Feb 6, 2022

In browser you can use WebSockets.

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

@dorkmo
Copy link

dorkmo commented Feb 6, 2022

would browser work on smart phone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants