Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/feross/webtorrent-app
❤️ Streaming torrent app for Mac, Windows, and Linux
https://github.com/feross/webtorrent-app
bittorrent electron hacktoberfest javascript linux macos nodejs p2p streaming webrtc webtorrent windows
Last synced: 14 days ago
JSON representation
❤️ Streaming torrent app for Mac, Windows, and Linux
- Host: GitHub
- URL: https://github.com/feross/webtorrent-app
- Owner: webtorrent
- License: mit
- Created: 2015-05-04T05:21:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T11:47:13.000Z (about 2 months ago)
- Last Synced: 2024-10-29T11:17:28.428Z (about 2 months ago)
- Topics: bittorrent, electron, hacktoberfest, javascript, linux, macos, nodejs, p2p, streaming, webrtc, webtorrent, windows
- Language: JavaScript
- Homepage: https://webtorrent.io/desktop
- Size: 169 MB
- Stars: 9,712
- Watchers: 246
- Forks: 1,004
- Open Issues: 77
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Authors: AUTHORS.md
Awesome Lists containing this project
- awesome-electron - WebTorrent - Streaming torrent client. (Apps / Open Source)
- awesome-peer-to-peer - webtorrent-app
- awesome-electron-zh - WebTorrent - Streaming torrent client. (Apps / Open Source)
- awesome-electron - WebTorrent - Streaming torrent client. ![](https://img.shields.io/github/stars/feross/webtorrent-app.svg?style=social&label=Star) (Apps / Download)
- awesome-peer-to-peer - webtorrent-app
README
WebTorrent Desktop
The streaming torrent app. For Mac, Windows, and Linux.
## Install
### Recommended Install
Download the latest version of WebTorrent Desktop from
[the official website](https://webtorrent.io/desktop/):### [✨ Download WebTorrent Desktop ✨](https://webtorrent.io/desktop/)
### Advanced Install
- Download specific installer files from the [GitHub releases](https://github.com/webtorrent/webtorrent-desktop/releases) page.
- Use [Homebrew-Cask](https://github.com/caskroom/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"](#how-to-contribute) instructions.## Screenshots
## 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-modesFor 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.### 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
- `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.#### 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](https://www.winehq.org/) and [Mono](https://www.mono-project.com/) need
to be installed. For example on Mac, first install
[XQuartz](http://www.xquartz.org/), then run:```
$ brew install wine mono
```(Requires the [Homebrew](http://brew.sh/) 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.
If packaging from Mac, install system dependencies with Homebrew by running:
```
npm run install-system-deps
```
#### Recommended readings to start working in the appElectron (Framework to make native apps for Windows, OSX and Linux in Javascript):
https://electronjs.org/docs/tutorial/quick-startReact.js (Framework to work with Frontend UI):
https://reactjs.org/docs/getting-started.htmlMaterial UI (React components that implement Google's Material Design.):
https://material-ui.com/getting-started/installation### Privacy
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.## License
MIT. Copyright (c) [WebTorrent, LLC](https://webtorrent.io).