Skip to content

➡️ Send a file p2p and e2e encrypted using nothing but your browser.

License

Notifications You must be signed in to change notification settings

hatake-sg/peertransfer

 
 

Repository files navigation

Peertransfer

In-browser secure P2P-filetransfer in three simple steps:

  1. 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.

peertransfer

Features

  • 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

Install

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.

Tech in focus

Influences & sources

Related &|| noteable

  • 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"

About

➡️ Send a file p2p and e2e encrypted using nothing but your browser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.3%
  • Other 0.7%