Download the latest version of WebTorrent Desktop from the official website:
Download specific installer files from the GitHub releases page.
Use Homebrew-Cask to install from the command line:
$ brew install --cask webtorrent
Try the (unstable) development version by cloning the Git repository. See the "How to Contribute" instructions.
$ git clone https://github.com/webtorrent/webtorrent-desktop.git $ cd webtorrent-desktop $ npm install
$ npm start
Restart the app automatically every time code changes. Useful during development.
$ npm run watch
$ npm test
$ 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?
For MacOS, you'll need a Retina screen for the integration tests to pass. Your screen should have the same resolution as a 2018 MacBook Pro 13".
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.
Builds app binaries for Mac, Linux, and Windows.
$ npm run package
To build for one platform:
$ npm run package -- [platform] [options]
The following optional arguments are available:
--sign- Sign the application (Mac, Windows)
--package=[type]- Package single output type.
deb- Debian package
rpm- RedHat 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.
The Windows app can be packaged from any platform.
Note: Windows code signing only works from Windows, for now.
$ brew install wine mono
(Requires the Homebrew package manager.)
The Mac app can only be packaged from macOS.
The Linux app can be packaged from any platform.
If packaging from Mac, install system dependencies with Homebrew by running:
npm run install-system-deps
React.js (Framework to work with Frontend UI): https://reactjs.org/docs/getting-started.html
Material UI (React components that implement Google's Material Design.): https://material-ui.com/getting-started/installation
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.