mafintosh / mafintosh/hypervision

Browser support

Open
#10 2 comments 3 reactions 1 assignee Claimed by @louiscenter View on GitHub
enhancement
Dominant language
JavaScript
Stars
450
Forks
45
PR merge metrics
No merged PRs in 30d

Description

It would be cool to port `hypervision` out of electron and make it completely usable within consumer browsers like Firefox and Chrome.

For this to happen, `hypercore` would first need to add browser support, and this is already planned: https://github.com/mafintosh/hypercore/issues/72

Then we would need to use something like `mafintosh/random-access-memory` for feed storage.

Swarming the data is also something that needs work, because `hyperdiscovery` and its dependencies don't run in the browser. The following link recommends ways in which you can do `dat` stuff in the browser: https://docs.datproject.org/browser

Being able to watch broadcasts from a browser would be the first priority, as there are still a number of use cases where broadcasting from an Electron app is useful (doing cool things with `ffmpeg` for example). That said, clients swarming via `discovery-swarm` aren't compatible with clients swarming via `webrtc-swarm`, so if broadcasting continues to be done via a desktop app, it would have to swarm via `WebRTC` instead.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.