It reads your torrents. Spit out magnet URIs.
$ ./magneto.rb magneto.rb.torrent
Results in:
[WARN] There are no trackers on the torrent. It’s recommended you add at least one.
Here are a few public free trackers that don’t require registration:
udp://tracker.publicbt.com:80/announce
udp://tracker.openbittorrent.com:80/announce
Magnet URI for magneto.rb:
magnet:?xt=urn:btih:W7TTABVNI4AADW3MWLMKWF32WVY7XE7P&dn=magneto.rb
@Apathetic012 You mean create torrents from magnet URIs? You can’t, not with the information you have in the magnet link alone. The magnet link allows bit torrent clients to find other peers that have the .torrent, which is then downloaded from them.