In-browser secure P2P-filetransfer in three simple steps:
- Select the file you want to send.
- Open the generated link on other PCs.
- Download over a direct (as in peer-to-peer) and end-to-end encrypted line.
Thus the file will only be available for download as long as the sender keeps his browser tab open.
- Uses WebRTC for peer-to-peer data connection
- End-to-end encryption
- Authenticate incoming connections
- Display progress for both sender and receiver
- Allow multiple transfers at once
- Cache encrypted data for successive transfers in one session
- Stop sending if the receiver becomes unavailable
Simply pull the gh-pages
branch like so. Peertransfer can be used on any (managed) hoster.
git clone https://github.com/pguth/peertransfer.git
cd peertransfer
git checkout gh-pages
# done and works right out the box if `peertransfer/index.html`
# etc. can be accessed through the web.
- WebRTC wrapped by PeerJS.
- Stanford Javascript Crypto Library
- HTML/CSS forked from Creating a File Encryption App with JavaScript.
- Code inspired by oro-chat.
- My presentation slides
- A variation of peertransfer I wrote: peermesh
- sharedrop "HTML5 clone of Apple's AirDrop - easy P2P file transfer powered by WebRTC"
- ShareFest "Web based p2p file sharing built on WebRTC Data Channels API"
- serverless-webrtc "A demo of using WebRTC with no signaling server."
- WebTorrent "Streaming torrent client for node & the browser"
- OnionShare "Securely and anonymously share a file of any size"
- FilePizza "Peer-to-peer file transfers in your browser"