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
How do you do it the other way around?