Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upmerge `bittorrent-client` into this module #96
Closed
Comments
This comment has been minimized.
This comment has been minimized.
|
This is done and released as webtorrent 0.8.0. See commit 9368650 |
This comment has been minimized.
This comment has been minimized.
|
Since |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 browsernpm install webtorrent -gto get a nice command line app with chromecast, airplay, vlc, etc. video streaming support. It installs awebtorrentcommand.I hope this makes it easier to get started with WebTorrent and easier to contribute.