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

A webtorrent browser add-on #1017

Closed
4t5tdgdertr opened this issue Jan 14, 2017 · 4 comments
Closed

A webtorrent browser add-on #1017

4t5tdgdertr opened this issue Jan 14, 2017 · 4 comments

Comments

@4t5tdgdertr
Copy link

@4t5tdgdertr 4t5tdgdertr commented Jan 14, 2017

Would you guys consider making a browser add-on (webextension) for webtorrent? There are many reasons why this would be useful... For example I can just install the javascript once, and webtorrent will automatically work on any website that uses src="torrent://<magnet-url>", users don't have to download the same library for every website that uses webtorrent, developers don't have to code anything they just have to use URLs in src, users might not have javascript enabled, reduce chances of people tampering with webtorrent javascript and incurring in XSS attacks, easier to update (just update the webextension instead of updating all the libraries in each website using it), no privacy issues with CDNs and trackings, less javascript, ....

@ROBERT-MCDOWELL

This comment has been minimized.

Copy link

@ROBERT-MCDOWELL ROBERT-MCDOWELL commented Jan 14, 2017

good idea, go ahead!!!

@goatandsheep

This comment has been minimized.

Copy link

@goatandsheep goatandsheep commented Jan 19, 2017

The issue is that no webpages are going to use src="torrent://<magnet-url>" because not all browsers support WebRTC. Instead what I'm working on is a way to make it so web designers don't put an src at all. Instead they'd put an href and my script (still figuring out the logistics / scope of the project) would:

  1. Check WebRTC support
  2. If no support, move the hrefs to the srcs
  3. If support, download the blob and make the blob the src

Also need to figure out how to cache blobs.

The size of WebTorrent is an issue that could be solved with a simple extension! I'll update you today

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Jan 21, 2017

I think a webtorrent browser extension is a cool idea. There's already an issue about it here: #443 If I get a free moment, I might hack it up, but anyone else is welcome to tackle it too.

The advantage of a chrome extension / chrome app is that it should be possible to support normal (tcp/utp) peers, meaning that users with this extension are more likely to find peers they can connect to, since they can connect to more than just the webrtc ones.

@feross feross closed this Jan 21, 2017
@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.