webtorrent

    webtorrent/webtorrent

    ⚡️ Streaming torrent client for the web

    backend
    data-engineering
    bittorrent
    browser
    hacktoberfest
    javascript
    nodejs
    JavaScript
    MIT
    31.5K stars
    2.9K forks
    31.5K GitHub watchers
    Updated Nov 3, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 99 days ago, with 167 contributors on GitHub.

    Peaked at #46 in the weekly ranking the week of Aug 2, its best in the past year.

    Use Cases & Benefits

    • A streaming torrent client that works in both node.js and web browsers using JavaScript and WebRTC for peer-to-peer file sharing.
    • Enables torrent streaming directly in browsers without plugins or extensions by using WebRTC, bridging traditional BitTorrent and web peers.
    • Use for building web applications that stream video or large files via peer-to-peer networks without requiring users to install software.
    • Use for creating node.js services that download or seed torrents efficiently with support for multiple simultaneous torrents and advanced peer discovery.
    • Use for developing command line tools or desktop apps that leverage WebTorrent's streaming and P2P capabilities across platforms and devices.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    The streaming torrent client. For node.js and the web.

    WebTorrent is a streaming torrent client for node.js and the browser. YEP, THAT'S RIGHT. THE BROWSER. It's written completely in JavaScript – the language of the web – so the same code works in both runtimes.

    In node.js, this module is a simple torrent client, using TCP and UDP to talk to other torrent clients.

    In the browser, WebTorrent uses WebRTC (data channels) for peer-to-peer transport. It can be used without browser plugins, extensions, or installations. It's Just JavaScript™. Note: WebTorrent does not support UDP/TCP peers in browser.

    Simply include the webtorrent.min.js script on your page to start fetching files over WebRTC using the BitTorrent protocol, or import WebTorrent from 'webtorrent' with browserify or webpack. See demo apps and code examples below.

    To make BitTorrent work over WebRTC (which is the only P2P transport that works on the web) we made some protocol changes. Therefore, a browser-based WebTorrent client or "web peer" can only connect to other clients that support WebTorrent/WebRTC.

    Excerpt from the webtorrent/webtorrent README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    2.9K-57

    Open issues

    82+3

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    webtorrent/webtorrent compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills187.8K+2.9K15—
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    shiyu-coder/Kronos47.0K+2.3K16—
    NationalSecurityAgency/ghidra98.2K+2.3K6414 days ago
    microsoft/VibeVoice56.0K+1.1K29—
    webtorrent/webtorrent31.5K—5599 days ago
    Category median56.0K+2.3K29—

    Discover Repositories

    Search across tracked repositories by name or description