Skip to content

h2non/webtorrent-hybrid-electron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebTorrent Hybrid Client (with Chromium based WebRTC implementation for Node.js)

Build Status NPM Version NPM Downloads

Streaming torrent client for node & the browser

In node.js, webtorrent no longer connects to WebRTC peers, just normal TCP/UDP peers. If you want to connect to all types of peers, including WebRTC peers, from node.js, you need to use this package (webtorrent-hybrid).

The wrtc dependency (which provides WebRTC support in node.js) can be a bit difficult/slow to install and lacks Windows support, so we didn't want to burden all users of webtorrent with that process. If you just want to use WebTorrent in the browser, or in node.js to connect to normal TCP/UDP peers, then you can depend on webtorrent, which will be faster to install.

js-standard-style

Install

To install WebTorrent:

npm install webtorrent-hybrid-electron

To install a webtorrent-hybrid command line program, run:

npm install webtorrent-hybrid-electron -g

Usage

webtorrent-hybrid has the same command line interface (CLI) and module API as webtorrent. Just require('webtorrent-hybrid') instead of require('webtorrent').

See the WebTorrent docs.

License

MIT. Copyright (c) Feross Aboukhadijeh.

About

WebTorrent Hybrid Client (bundles `electron-webrtc` for reliable WebRTC support in node.js)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%