Skip to main content

Introduction

npmjsdelivr

Features

  • Lightweight, plugin-free peer-to-peer communication via WebRTC data channels
  • Supports downloading any type of file
  • Supports downloading multiple files simultaneously
  • Instructs the browser to save files using response headers and a service worker
  • Efficient scheduling policies that enhance P2P streaming performance
  • Uses an IP database to group peers by ISP and region

Browser Support

WebRTC is already part of the HTML5 standard and is broadly supported in modern browsers. CDNBye's compatibility depends on the browser's support for WebRTC.

CompatibilityChromeFirefoxmacOS SafariAndroid Wechat/QQOperaEdgeiOS SafariIE
WebRTC Datachannel

Application Scenarios

Designed for large file downloads, such as installation packages and media files.


Unlike a normal web download (such as an ***a*** tag), this approach requires the download page to stay open. We recommend adding a reminder to prevent users from closing the page. :::note This plugin is not suitable for downloading files smaller than 10MB
Not suitable for loading JS, CSS, HTML, or image files :::

Online Demo

View demo