Skip to content

respoke/peer-to-peer-fileshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peer-to-Peer file sharing over Respoke DirectConnection (RTCDataChannel)

Requirements

  • node.js 0.12+ and npm
  • nodemon: npm install -g nodemon
  • Respoke app ID, app secret, and role ID added to ./config/

Running it

git clone https://github.com/respoke/peer-to-peer-fileshare
cd peer-to-peer-fileshare
npm install
npm start

Go to http://localhost:3000

File transfer example code

The file views/room.jade shows how the file transfer is performed.

About

Example of sharing files peer-to-peer in a web browser using Respoke

Resources

License

Stars

Watchers

Forks

Packages

No packages published