Skip to content
πŸš€ Streaming file transfer over WebTorrent (torrents on the web)
JavaScript HTML Shell CSS
Branch: master
Clone or download

Latest commit

Latest commit 7325c31 May 18, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client Merge pull request #220 from willstott101/om May 12, 2020
css add css for <object> May 10, 2018
secret inherit from simple-peer config May 5, 2020
server Update rollbar.js Jan 3, 2020
static Update brave-rewards-verification.txt Jul 26, 2019
tools Update deploy.sh May 18, 2020
.gitignore add favicon Jul 29, 2015
.npmrc update all deps May 10, 2020
.travis.yml travis: test node LTS Sep 3, 2018
AUTHORS.md bin/ -> tools/ May 31, 2018
CONTRIBUTING.md feross -> webtorrent Apr 14, 2017
LICENSE WebTorrent, LLC Jun 16, 2016
README.md Remove dead link Aug 10, 2019
config.js set port via supervisor config (9100 -> 7010) Dec 13, 2017
nginx.conf remove 500 file Jun 29, 2019
package-lock.json update deps May 18, 2020
package.json update deps May 18, 2020
supervisor.conf set port via supervisor config (9100 -> 7010) Dec 13, 2017

README.md

Instant.io

Streaming file transfer over WebTorrent (torrents on the web)

travis javascript style guide

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 clone https://github.com/webtorrent/instant.io
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).

To start the server, run npm start. That should be it!

Mirrors

Tips

  1. Create a shareable link by adding a torrent infohash or magnet link to the end of the URL. For example: https://instant.io#INFO_HASH or https://instant.io/#MAGNET_LINK.

  2. You can add multiple torrents in the same browser window.

License

MIT. Copyright (c) WebTorrent, LLC.

You can’t perform that action at this time.