Instant.io - Streaming file transfer over WebTorrent - Alternative to LinShare, WeTransfer, Dropbox, etc
Download/upload files using the WebTorrent protocol (BitTorrent over WebRTC). This is a beta.
localStorage.debug = '*'in the console and refresh to get detailed log output.
If you just want to do file transfer on your site, or fetch/seed files over WebTorrent, then there's no need to run a copy of instant.io on your own server. Just use the WebTorrent script directly. You can learn more at https://webtorrent.io.
To get a clone of https://instant.io running on your own server, follow these instructions.
Get the code:
git clone https://github.com/webtorrent/instant.io cd instant.io npm install
Modify the configuration options in
config.jsto set the IP/port you want the server to listen on.
secret/index.jsand update the options in there to a valid TURN server if you want a NAT traversal service (to help peers connect when behind a firewall).
To start the server, run
npm run build && npm start. That should be it!
Create a shareable link by adding a torrent infohash or magnet link to the end of the URL. For example:
You can add multiple torrents in the same browser window.
MIT. Copyright (c) WebTorrent, LLC.
+1 for instant.io It works well.
WebRTC (Web Real Time Communication) is the same way FilePizza and Jirrafeau use too, I think. When I investigated instant a while back, it was the option I preferred to use. I can't remember why I liked it more than the others.
If you try this with random people, they sometimes have WebRTC disabled in their browser and if the transfer is failing for them, I would probably check this first.