jakefb / instant.io

Secure, anonymous, streaming file transfer

Home Page:https://instant.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instant.io

Streaming file transfer over WebTorrent

Download/upload files using the WebTorrent protocol (BitTorrent over WebRTC). This is a beta.

Powered by WebTorrent, the first torrent client that works in the browser without plugins. WebTorrent is powered by JavaScript and WebRTC. Supports Chrome, Firefox, Opera (desktop and Android). Run localStorage.debug = '*' in the console and refresh to get detailed log output.

Install

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.

The client-side code that instant.io uses is here.

Run a copy of this site on your own server

To get a clone of https://instant.io running on your own server, follow these instructions.

Get the code:

git@github.com:feross/instant.io.git
cd instant.io
npm install

Modify the configuration options in config.js to set the IP/port you want the server to listen on.

Copy secret/index-sample.js to secret/index.js and set the Twilio API key if you want a NAT traversal service (to help peers connect when behind a firewall).

That should be it!

License

MIT. Copyright (c) Feross Aboukhadijeh.

About

Secure, anonymous, streaming file transfer

https://instant.io

License:MIT License


Languages

Language:JavaScript 78.6%Language:HTML 11.2%Language:CSS 7.1%Language:Shell 3.1%