bitmagnet-io / bitmagnet

A self-hosted BitTorrent indexer, DHT crawler, content classifier and torrent search engine with web UI, GraphQL API and Servarr stack integration.
https://bitmagnet.io/
MIT License
2.34k stars 91 forks source link

I2P support #303

Open snex opened 3 weeks ago

snex commented 3 weeks ago

Describe the solution you'd like

It would be very cool if bitmagnet had built-in I2P support. See https://geti2p.net if you are unfamiliar. Essentially I2P is similar to Tor but there are no exit nodes.

Describe alternatives you've considered

Doing this from scratch. Seems like a waste of effort.

Additional context

If you would like to know more, please join us on the postman I2P IRC server #saltr channel.

leofidus commented 3 weeks ago

That'd be quite interesting. What separates i2p from tor is that there's a lot of i2p-internal torrent traffic that doesn't interact with the clearnet at all. It's like its own little torrent bubble.

eyedeekay commented 3 weeks ago

We have some fairly extensive Go libraries with I2P implementations of net.Conn, net.PacketConn, and net.Addr allowing developers to drop them in where possible. onramp can be configured to use the address format that the in-I2P DHT expects. So if you make use of the net.* interface types in the existing code then we can make implementation very straightforward.