

NPM INSTALL WEBTORRENT CODE
You use node-style require() to organize your browser code and load modules installed by npm (as seen in the previous examples). WebTorrent works great with browserify, an npm package that lets There are more examples in docs/get-started.md. When user drops files on the browser, create a new torrent and start seeding it!Ĭonsole.log('Client is seeding:', Hash) Standards (no plugins, just HTML5 and WebRTC)! It's easy to get started! In the browser Downloading a file is simple: const WebTorrent = require('webtorrent')Ĭlient.add(magnetURI, function (torrent) ) Seeding a file is simple, too: const dragDrop = require('drag-drop') WebTorrent is the first BitTorrent client that works in the browser, using open web Lots of folks! WebTorrent API Documentation With development or to hang out with some mad science hackers :)
NPM INSTALL WEBTORRENT MP4
Stream video torrents into a tag ( webm (vp8, vp9) or mp4 (h.264)).Running on one domain can connect to clients on any other domain. WebTorrent is a P2P network for the entire web. WebRTC data channels for lightweight peer-to-peer communication with no plugins.Comprehensive test suite (runs completely offline, so it's reliable and fast).Supports advanced torrent client features.Seamlessly switches between sequential and rarest-first piece selection strategy.Fetches pieces from the network on-demand so seeking is supported (even before torrent is finished).

Pure Javascript (no native dependencies).
NPM INSTALL WEBTORRENT DOWNLOAD
