GithubHelp home page GithubHelp logo

Comments (16)

atomashpolskiy avatar atomashpolskiy commented on July 19, 2024

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.

karuppiah7890 avatar karuppiah7890 commented on July 19, 2024

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.

atomashpolskiy avatar atomashpolskiy commented on July 19, 2024

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.

karuppiah7890 avatar karuppiah7890 commented on July 19, 2024

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.

the8472 avatar the8472 commented on July 19, 2024

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.

atomashpolskiy avatar atomashpolskiy commented on July 19, 2024

@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.

atomashpolskiy avatar atomashpolskiy commented on July 19, 2024

@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.

the8472 avatar the8472 commented on July 19, 2024

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.

the8472 avatar the8472 commented on July 19, 2024

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.

atomashpolskiy avatar atomashpolskiy commented on July 19, 2024

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.

str4d avatar str4d commented on July 19, 2024

I should be making a new release that includes str4d/ed25519-java#17 shortly ๐Ÿ˜ƒ

from bt.

atomashpolskiy avatar atomashpolskiy commented on July 19, 2024

Hey @str4d , cool! A quite remarkable release train it is going to be :)

from bt.

str4d avatar str4d commented on July 19, 2024

New release should be dropping this weekend.

from bt.

the8472 avatar the8472 commented on July 19, 2024

Btw, you can include it as maven dep via jitpack

from bt.

karuppiah7890 avatar karuppiah7890 commented on July 19, 2024

Wow, nice to see Bt rising up with cool features :)

from bt.

atomashpolskiy avatar atomashpolskiy commented on July 19, 2024

Thanks mate ;)

from bt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.