News for hackers. Stuff that matters.
Re:Show HN: Bt – BitTorrent library in Java 8 by gigatexal on Wednesday August 02, 2017 @01:44PM (#14912870)
Man this looks slick, going to give it a shot. Love the ability to be able to download a magnet link from the CLI and not worry about what some fancy GUI is doing in the background cuz I am paranoid.
Re:Show HN: Bt – BitTorrent library in Java 8 by atomashpolskiy on Wednesday August 02, 2017 @01:51PM (#14912931)
Thank you! Make sure to install http://www.oracle.com/technetwork/java/javase/downloads/jce8... to allow 160-bit cryptography and use -e flag to be completely safe!

I also have a simple shell script locally, that wraps the java command, so I have to just type `btmagnet AF0D9AA01A9AE123A73802CFA58CCAF355EB19F8` to download to a pre-determined location (hardcoded in the script). I wonder if I should share it on the CLI README page

Re:Show HN: Bt – BitTorrent library in Java 8 by sarnowski on Wednesday August 02, 2017 @02:32PM (#14913301)
> Make sure to install http://www.oracle.com/technetwork/java/javase/downloads/jce8.... to allow 160-bit cryptography

Or don't use the Oracle proprietary distribution but the OpenJDK of your operating system which normally doesn't exclude proper crypto algorithms.

(be aware that the JDKs downgrade silently if certain libraries are missing in your host)

Re:Show HN: Bt – BitTorrent library in Java 8 by atomashpolskiy on Wednesday August 02, 2017 @03:23PM (#14913751)
That's some really useful information, thanks! Need to add this to the readme
Re:Show HN: Bt – BitTorrent library in Java 8 by gigatexal on Wednesday August 02, 2017 @01:57PM (#14912996)
do it! that'd be my use case more or less.
Re:Show HN: Bt – BitTorrent library in Java 8 by atomashpolskiy on Wednesday August 02, 2017 @02:14PM (#14913170)
Re:Show HN: Bt – BitTorrent library in Java 8 by rena-anju on Thursday August 03, 2017 @01:53PM (#14921955)
Or add something like this to your .bashrc

function bt() { java -jar /path/to/bt-launcher.jar -m "magnet:xt=urn:btih:$1" -d /$HOME/Downloads }

Re:Show HN: Bt – BitTorrent library in Java 8 by rena-anju on Thursday August 03, 2017 @04:25AM (#14917884)
What things that makes you paranoid can a "fancy GUI" do in the background that an application with a CLI cannot also do in the background?
Re:Show HN: Bt – BitTorrent library in Java 8 by gigatexal on Thursday August 03, 2017 @09:28AM (#14919322)
There’s less code for me to review in this project than say in utorrent or another application.
Re:Show HN: Bt – BitTorrent library in Java 8 by rena-anju on Thursday August 03, 2017 @11:12AM (#14920254)
Talks about reviewing code, mentions a closed source application...
Re:Show HN: Bt – BitTorrent library in Java 8 by gigatexal on Thursday August 03, 2017 @11:29AM (#14920416)
The gist being that GUI applications tend to have larger codebases but yes my example was wrong.
Re:Show HN: Bt – BitTorrent library in Java 8 by pmatev on Wednesday August 02, 2017 @01:59PM (#14913017)
Credit to OP, this looks like a really solid project. The CLI aspect of it reminds me of peerflix (https://github.com/mafintosh/peerflix), which I've been using for a while and am pretty happy with (no affiliation, promise)
Re:Show HN: Bt – BitTorrent library in Java 8 by lotyrin on Wednesday August 02, 2017 @02:49PM (#14913480)
I use rtorrent for exactly this.
Re:Show HN: Bt – BitTorrent library in Java 8 by hobarrera on Wednesday August 02, 2017 @03:52PM (#14914011)
Sounds like deluge (deluged) would have suited you fine.