instant.io

? Streaming file transfer over WebTorrent (torrents on the web)

Github星跟踪图


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.

主要指标

概览
名称与所有者webtorrent/instant.io
主编程语言JavaScript
编程语言JavaScript (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2014-08-02 18:11:53
推送于2025-05-24 18:59:16
最后一次提交2024-02-23 23:21:33
发布数0
用户参与
星数3.5k
关注者数95
派生数452
提交数599
已启用问题?
问题数176
打开的问题数25
拉请求数167
打开的拉请求数14
关闭的拉请求数63
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?