webtorrent / instant.io

🚀 Streaming file transfer over WebTorrent (torrents on the web)
https://instant.io
MIT License
3.43k stars 436 forks source link

Allow users to specify the tracker list #352

Open zackees opened 2 years ago

zackees commented 2 years ago

What problem do you want to solve?

I'm working on a major movie launch for a client. We'd like to use webtorrent to resist censorship efforts when it releases. I'd like to specify the exact trackers we'd like to use.

What do you think is the correct solution to this problem?

Have a checkbox that says: "Override trackers", when this checkbox is clicked, then a multi-line text field becomes enabled which allows the trackers to be specified. The client code will verify that the trackers are in proper format or else error.

The generated magnetURI will then have the specified trackers in the URI.

The codeline this would need to be implemented on is here: https://github.com/webtorrent/instant.io/blob/9740a905270adc6a3ec2a3ac926f5200e0108015/client/index.js#L167

Are you willing to submit a pull request to implement this change?

Maybe yeah.