I am thinking of writing customized torrent client in ruby. I found the following libraries (which are pretty old as Matt pointed out bellow). However i would like to hear about any library that i might have missed and i would love to hear what the community have to say about the following libraries. As in pros and cons...
Please note that i am hoping to modify some inner workings of the library to suit my needs. Hence a pure ruby library would be ideal.
Note: I searched stackoverflow for this question (or anything similar). The only questions that came up were asked long ago and didn't have any decent answers. Hence this new question.
Thanks for your time!
After not finding any good solution to connect my ruby code to a BitTorrent protocol I have implemented a Ruby wrapper for the Transmission RPC API:
It is a very simple version that works for my needs.
Of course it has a very big dependency of a Transmission client running for it, but I think it is a dependency you want to have due it is a very stable and very updated bittorrent client.
I recommend to set up a headless transmission daemon
You have a few alternatives, rolling your own with FFI and any c/c++/java torrent library, or use a well known torrent daemon (ie: transmission, utorrent, etc) and talk to it via its rpc interface.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With