Skip to content
forked from vardius/peer-cdn

Lightweight library providing peer to peer CDN functionality

License

Notifications You must be signed in to change notification settings

montamal/peer-cdn

 
 

Repository files navigation

peer-cdn

Build Status codecov npm version license Beerpay Beerpay

Lightweight library providing peer to peer CDN functionality

Bundle size

┌────────────────────────────────────────────────────┐
│                                                    │
│   Destination: lib/index.js                        │
│   Bundle size: 247.07 KB, Gzipped size: 72.45 KB   │
│                                                    │
└────────────────────────────────────────────────────┘
┌────────────────────────────────────────────────────┐
│                                                    │
│   Destination: es/index.js                         │
│   Bundle size: 256.63 KB, Gzipped size: 73.71 KB   │
│                                                    │
└────────────────────────────────────────────────────┘

This is work in progress!

You can speed up the process of development. Check help wanted issues and contribute

Things to consider:

  • peer matching algorithms (ways of improving - pick best direction to go from here, beta version keeps it simple - pick first)
  • browser support WebRTC
  • browser support client.postMessage()
  • media supported (there might be issues with range request)

For now I know there might be some issues with:

Next steps:

  • add more tests
  • resolve browser support
  • create web pack plugin
  • improve signalling server

Contribution

Is peer-cdn library missing something ?

No problem! Simply fork this repository and create pull request.

Instaliation

npm install --save peer-cdn

License

The code is available under the MIT license.

About

Lightweight library providing peer to peer CDN functionality

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.5%
  • HTML 2.8%
  • CSS 1.7%