https://github.com/respoke/peer-to-peer-fileshare
Example of sharing files peer-to-peer in a web browser using Respoke
https://github.com/respoke/peer-to-peer-fileshare
Last synced: 6 months ago
JSON representation
Example of sharing files peer-to-peer in a web browser using Respoke
- Host: GitHub
- URL: https://github.com/respoke/peer-to-peer-fileshare
- Owner: respoke
- License: mit
- Created: 2015-12-12T05:54:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-14T16:42:15.000Z (over 10 years ago)
- Last Synced: 2025-02-03T10:46:24.263Z (over 1 year ago)
- Language: HTML
- Homepage: https://ruffrey-p2p-fileshare.herokuapp.com
- Size: 135 KB
- Stars: 3
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Peer-to-Peer file sharing over Respoke DirectConnection (RTCDataChannel)

## Requirements
- node.js 0.12+ and npm
- nodemon: `npm install -g nodemon`
- [Respoke](https://portal.respoke.io) app ID, app secret, and role ID added to `./config/`
## Running it
```bash
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](views/room.jade) shows how the file transfer is performed.