Are there any decent BitTorrent libraries for Java? I need to program a simple torrent client, but it would be great if I didn't have to write everything from scratch.
51
votes
7 Answers
32
votes
23
votes
Snark by Three Rings is a very lightweight bitorrent library that will give you basic torrent features.
Was originally written by Mark Wielaard. A github source can be found here https://github.com/akerigan/born-again-snark
6
votes
4
votes
1
votes
Adding to answer from jjnguy : The code seems to be at http://code.google.com/p/snark/ and not in the repo pointed to in the link you've provided.
I've not used it, but a Google search showed up YAIRCC. Describes itself as "A lightweight Java Bittorrent library and client".