Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webtorrent/webtorrent-hybrid
WebTorrent (with WebRTC support in Node.js)
https://github.com/webtorrent/webtorrent-hybrid
bittorrent browser hybrid javascript nodejs torrent webrtc webtorrent
Last synced: 1 day ago
JSON representation
WebTorrent (with WebRTC support in Node.js)
- Host: GitHub
- URL: https://github.com/webtorrent/webtorrent-hybrid
- Owner: webtorrent
- License: mit
- Created: 2015-05-04T01:45:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-01-02T12:01:28.000Z (29 days ago)
- Last Synced: 2025-01-23T15:05:23.954Z (8 days ago)
- Topics: bittorrent, browser, hybrid, javascript, nodejs, torrent, webrtc, webtorrent
- Language: JavaScript
- Homepage: https://webtorrent.io
- Size: 156 KB
- Stars: 521
- Watchers: 26
- Forks: 100
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - webtorrent/webtorrent-hybrid - WebTorrent (with WebRTC support in Node.js) (nodejs)
README
# Deprecation Warning
This package is deprecated as of WebTorrent >= 2.3.0 as native WebRTC support has been added to WebTorrent. Please switch to using the "webtorrent" package.# webtorrent-hybrid [![ci][ci-image]][ci-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
[ci-image]: https://github.com/webtorrent/webtorrent-hybrid/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/webtorrent/webtorrent-hybrid/actions/workflows/ci.yml
[npm-image]: https://img.shields.io/npm/v/webtorrent-hybrid.svg
[npm-url]: https://npmjs.org/package/webtorrent-hybrid
[downloads-image]: https://img.shields.io/npm/dm/webtorrent-hybrid.svg
[downloads-url]: https://npmjs.org/package/webtorrent-hybrid
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[standard-url]: https://standardjs.com### Streaming torrent client (with WebRTC support in Node.js)
In node.js, the `webtorrent` package only connects to normal TCP/UDP peers, not WebRTC 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`).
## Install
To install WebTorrent:
```bash
npm install webtorrent-hybrid
```To install a `webtorrent-hybrid` command line program, run:
```bash
npm install webtorrent-hybrid -g
```## Usage
`webtorrent-hybrid` has the same command line interface (CLI) and module API as
[`webtorrent`](https://github.com/webtorrent/webtorrent). Just `import WebTorrent from 'webtorrent-hybrid'`
instead of `import WebTorrent from 'webtorrent'`.See the [WebTorrent docs](https://webtorrent.io/docs).
## License
MIT. Copyright (c) [Feross Aboukhadijeh](https://feross.org) and [WebTorrent, LLC](https://webtorrent.io).