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

merge `bittorrent-client` into this module #96

Closed
feross opened this issue Sep 21, 2014 · 2 comments
Closed

merge `bittorrent-client` into this module #96

feross opened this issue Sep 21, 2014 · 2 comments

Comments

@feross
Copy link
Member

@feross feross commented Sep 21, 2014

When I started the WebTorrent project I thought there were going to need to be two separate client implementations (bittorrent-client and webtorrent-client) - one for bittorrent, and an entirely different one for the webtorrent stuff, because WebRTC is so different. The plan was to tie the two together in a higher-level module.

Fortunately, this was not necessary because of the awesome “browser” field support in browserify. By substituting just a few modules, we can make the same module (webtorrent) work in node AND the browser, with the same codebase!

With the next WebTorrent release, you can:

  • require('webtorrent') to use bittorrent in a node app or script. Bonus: Soon, your app will also download/seed from web users (more peers = faster downloads)
  • require('webtorrent') to use webtorrent in the browser
  • Lastly, you can run npm install webtorrent -g to get a nice command line app with chromecast, airplay, vlc, etc. video streaming support. It installs a webtorrent command.

I hope this makes it easier to get started with WebTorrent and easier to contribute.

@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Sep 21, 2014

This is done and released as webtorrent 0.8.0. See commit 9368650

@feross feross closed this Sep 21, 2014
@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Sep 21, 2014

Since bittorrent-client is now deprecated, I'm going to migrate all issues to this repo. I don't know if this will trigger tons of email notifications for each new issue/comment - if so, I apologize in advance.

@lock lock bot locked as resolved and limited conversation to collaborators May 7, 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
1 participant
You can’t perform that action at this time.