The streaming torrent client

Website https://webtorrent.io/desktop
Repository https://github.com/webtorrent/webtorrent-desktop
Category Utilities
Keywords torrent sharing data hosting p2p decentralized streaming video
Homebrew brew cask install webtorrent
Downloads RELEASES RELEASES-ia32 WebTorrent-0.19.0-full.nupkg WebTorrent-0.19.0-ia32-full.nupkg webtorrent-desktop_0.19.0-1_amd64.deb webtorrent-desktop_0.19.0-1_i386.deb WebTorrent-v0.19.0-darwin.zip WebTorrent-v0.19.0-linux-ia32.zip WebTorrent-v0.19.0-linux.zip WebTorrent-v0.19.0-win-ia32.zip WebTorrent-v0.19.0-win.zip WebTorrent-v0.19.0.dmg WebTorrentSetup-v0.19.0-ia32.exe WebTorrentSetup-v0.19.0.exe
Latest Release v0.19.0 (v0.19.0)
Release Notes


  • Added watch folder feature: Automatically add new torrent files added to a folder on disk (#1154)
  • Added highest playback priority feature: pauses other active torrents when playback starts (#840)
  • Add 'Start Speaking' and 'Stop Speaking' menu item (Mac) (#439)
  • Add pinch-to-zoom gesture to enter/exit fullscreen (#1148)


  • [SECURITY] Mitigate Electron protocol handler issue (Windows)
  • Moved project from Feross's GitHub account to the WebTorrent GitHub organization
  • Updated to electron@1.6.16
  • Updated to material-ui@0.17
  • Treat .FLAC as playable audio (#1127)


  • Fix time and duration so it doesn't bounce in the UI (#1233)
  • Fix 'About WebTorrent' menu location on Windows (#1120)

WebTorrent Desktop

The streaming torrent app. For Mac, Windows, and Linux.

gitter github release travis Standard - JavaScript Style Guide


Download the latest version of WebTorrent Desktop from the official website or the GitHub releases page.

WebTorrent Desktop is under very active development. You can try out the current (unstable) development version by cloning the Git repo. See the instructions below in the "How to Contribute" section.


screenshot screenshot

How to Contribute

Get the code

$ git clone https://github.com/webtorrent/webtorrent-desktop.git
$ cd webtorrent-desktop
$ npm install

Run the app

$ npm start

Watch the code

Restart the app automatically every time code changes. Useful during development.

$ npm run watch

Run linters

$ npm test

Run integration tests

$ npm run test-integration

The integration tests use Spectron and Tape. They click through the app, taking screenshots and comparing each one to a reference. Why screenshots?

  • Ad-hoc checking makes the tests a lot more work to write
  • Even diffing the whole HTML is not as thorough as screenshot diffing. For example, it wouldn't catch an bug where hitting ESC from a video doesn't correctly restore window size.
  • Chrome's own integration tests use screenshot diffing iirc
  • Small UI changes will break a few tests, but the fix is as easy as deleting the offending screenshots and running the tests, which will recreate them with the new look.
  • The resulting Github PR will then show, pixel by pixel, the exact UI changes that were made! See https://github.com/blog/817-behold-image-view-modes

For MacOS, you'll need a Retina screen for the integration tests to pass. Your screen should have the same resolution as a 2016 12" Macbook.

For Windows, you'll need Windows 10 with a 1366x768 screen.

When running integration tests, keep the mouse on the edge of the screen and don't touch the mouse or keyboard while the tests are running.

Package the app

Builds app binaries for Mac, Linux, and Windows.

$ npm run package

To build for one platform:

$ npm run package -- [platform] [options]

Where [platform] is darwin, linux, win32, or all (default).

The following optional arguments are available:

  • --sign - Sign the application (Mac, Windows)
  • --package=[type] - Package single output type.
    • deb - Debian package
    • zip - Linux zip file
    • dmg - Mac disk image
    • exe - Windows installer
    • portable - Windows portable app
    • all - All platforms (default)

Note: Even with the --package option, the auto-update files (.nupkg for Windows, -darwin.zip for Mac) will always be produced.

Windows build notes

The Windows app can be packaged from any platform.

Note: Windows code signing only works from Windows, for now.

Note: To package the Windows app from non-Windows platforms, Wine needs to be installed. For example on Mac, first install XQuartz, then run:

brew install wine

(Requires the Homebrew package manager.)

Mac build notes

The Mac app can only be packaged from macOS.

Linux build notes

The Linux app can be packaged from any platform.


WebTorrent Desktop collects some basic usage stats to help us make the app better. For example, we track how well the play button works. How often does it succeed? Time out? Show a missing codec error?

The app never sends any personally identifying information, nor does it track which torrents you add.


MIT. Copyright (c) WebTorrent, LLC.

Something missing? Edit this app.