Comments (16)
Hi @karuppiah7890 ! Thanks for your interest, it's really important for me that people are getting interested in Bt.
It's absolutely a number one feature that I'm planning to include in Bt. I've done a bit of a research some time ago, and it turned out that there are just a few Mainline DHT implementations in Java, and frankly neither of those seems to be user-friendly/straight-forward to use, esp. as an embedded library.
That said, I think that the DHT support fits somewhat better into a 1.x release, rather than the initial one. I'm mostly done with preparing the initial release, so the API should be more or less stable from now on (excluding the bt-tests module, I'm going to refactor it in the nearest time). You can give it a try if you want, and feel free to ping me if you have any questions/suggestions.
from bt.
I think it makes sense. TTorrent is famous and I just tried it. and It's not even working, I don't know how to get it work. Bad Examples. And no API Docs.
When will Bt docs be available ?
from bt.
Latest JavaDoc is built automatically for every new commit to master. Please see http://atomashpolskiy.github.io/bt/javadoc/latest/
CLI client is also a good place to start from (shows the most basic usage example): https://github.com/atomashpolskiy/bt/blob/master/bt-cli/src/main/java/bt/cli/CliClient.java
I'm also planning to provide more formal documentation with the 1.0 release, which will hopefully be before the New Year.
from bt.
Nice. Checking on it
And do provide this link in the website, I don't think I saw any direct link. And do provide it in README too, for now
from bt.
I've done a bit of a research some time ago, and it turned out that there are just a few Mainline DHT implementations in Java, and frankly neither of those seems to be user-friendly/straight-forward to use, esp. as an embedded library.
I am the author of mldht. It's intended to be used as a library, but I don't have many downstream consumers so it's mostly run in a few specialized stand-alone uses which I manage myself.
If you have any feedback what makes it difficult to use I might be able to address those issues.
from bt.
@the8472 , thanks for showing up! Yeah, I've considered using your implementation, but it's not published in Maven Central. Also I recall that in order to build it locally I had to manually add eddsa library and remove the8472.test.Bep44
class due to compilation errors. If you could release a stable version, I'd be happy to take another look and experiment with using it!
from bt.
@the8472 , I just took another look at mldht and finally remembered what my main issue with it was. It's GPL license, which is incompatible with Apache that is used by Bt. May I ask you why have you decided to go with a copyleft license?
from bt.
That was the license the original maintainer chose before I took it over many years ago. Some of the commit history was lost so I'm not sure how many LoC authored by him remain. But I can ask him if he would let me relicense it.
from bt.
I had to manually add eddsa library and remove the8472.test.Bep44 class due to compilation errors.
That shouldn't be necessary. Travis compiles it just fine. Maybe you forgot to do a recursive clone or the build-helper-maven-plugin was not applied properly?
Currently the patched version of ed25519 is necessary until str4d/ed25519-java#17 makes it into a release. BEP44 key handling is specifies the key format in a way that is not covered by the previously available constructors.
from bt.
This was indeed my fault. Hadn't seen git submodules until this day. git clone --recursive
did the trick, now the project builds just fine. Thanks!
That was the license the original maintainer chose before I took it over many years ago. ... But I can ask him if he would let me relicense it.
This would be incredibly nice of you!
from bt.
I should be making a new release that includes str4d/ed25519-java#17 shortly ๐
from bt.
Hey @str4d , cool! A quite remarkable release train it is going to be :)
from bt.
New release should be dropping this weekend.
from bt.
Btw, you can include it as maven dep via jitpack
from bt.
Wow, nice to see Bt rising up with cool features :)
from bt.
Thanks mate ;)
from bt.
Related Issues (20)
- [BUG] Many Incoming Encryption fail with InvalidMessage HOT 1
- [BUG] Weird metainfo validation error in CLI HOT 3
- [BUG] springboot use HOT 1
- how to download the file range pieces? HOT 2
- [BUG] Something does not work as it should
- Gradle issues with cling dependency library (upnp module) HOT 3
- Running CliClient.java Locally Reports an Error HOT 1
- java.lang.NoSuchMethodError: No virtual method getAnnotatedSuperclass()Ljava/lang/reflect/AnnotatedType; in class Ljava/lang/Class; or its super classes (declaration of 'java.lang.Class' appears in /apex/com.android.art/javalib/core-oj.jar) HOT 2
- Vulnerable dependencies
- [BUG] Cling 2.2.1 not found in Maven Central HOT 3
- How to access DHT Database at runtime? HOT 1
- Stopping client and stopWhenDownloaded() throws java.lang.RuntimeException HOT 1
- How can I get the info.files[0].filehash info
- [BUG] Something does not work as it should
- Dependency org.yaml:snakeyaml, leading to CVE problem
- Does it support Android๏ผ
- [BUG] Android - only maxSimultaneouslyAssignedPieces are downloaded if PieceSelector.getNextPieces supplies subset of all pieces in torrent HOT 3
- [QUESTION] Code affecting the performance HOT 2
- [BUG] Cannot decode torrent due to validation error
- [Request] Implement a getter-interface for events that receives Peer from an event
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bt.