News for hackers. Stuff that matters.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by baldfat on Thursday April 07, 2016 @12:44PM (#11448678)
So excited it moved to github and away from SourceForge

By far my go to app for downloading anything. aria2c [link] downloads anything and is also the fastest bit torrent app I have ever used.

EDIT: I also use aria2c for the backend of my Arch Linux package manager pacman. Gives me multiple of connections per host and speeds up updates by at least two folds. https://bbs.archlinux.org/viewtopic.php?id=192072

2nd EDIT: Windows works but I have had better luck with uGet portable app for Windows.

http://ugetdm.com/downloads-windows

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by ubercow on Thursday April 07, 2016 @01:26PM (#11448977)
this pacman + aria2 is awesome. had no idea that was even possible.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by scriptdevil on Friday April 08, 2016 @12:21AM (#11452558)
The only issue I had with this setup was that if a download got cancelled, it would start failing throwing package integrity errors because aria downloads directly to /var/cache/pacman/pkg/package_name.tar.xz rather than a .part file which is copied upon completion. The built-in downloader of pacman ensures this is done right.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by rsync on Thursday April 07, 2016 @03:15PM (#11449816)
"By far my go to app for downloading anything. aria2c [link] downloads anything"

Just to clarify, when you say "anything" do you mean things like soundcloud and youtube ?

Is this an alternative to a tool like youtube-dl ?

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by sirn on Thursday April 07, 2016 @03:59PM (#11450148)
Probably not quite what you meant (since it still require youtube-dl), but youtube-dl has built-in support for downloading using aria2c as a backend.

    youtube-dl --external-downloader=aria2c https://www.youtube.com/watch?v=dQw4w9WgXcQ
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by baldfat on Friday April 08, 2016 @07:59AM (#11453983)
I now have a new alias thank you!
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by nopcode on Thursday April 07, 2016 @03:56PM (#11450131)
aria2c supports HTTP(S), FTP, SFTP and Torrent/Metalink.

Many applications (youtube-dl through --external-downloader) can use aria2c as a "downloader backend".

aria2c + https://github.com/ziahamza/webui-aria2 offers a very fast, portable and simple download manager.

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by vram22 on Thursday April 07, 2016 @03:25PM (#11449905)
Good question, I'd like to know too.

aria is also controllable by Python via XML-RPC - seen that in the docs, on my stack to try, could be useful.

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by ubercow13 on Thursday April 07, 2016 @02:46PM (#11449572)
uGet can use aria2 as its backend too
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by baldfat on Friday April 08, 2016 @08:01AM (#11453987)
aria2c is the backend for uGet
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by Archio on Thursday April 07, 2016 @02:12PM (#11449316)
For those who would prefer a graphical interface for their multithreaded downloading, I highly recommend webui-aria2, which (of course) uses aria2c in it's backend: https://github.com/ziahamza/webui-aria2

It's super easy to install locally since it's basically a JS app in a couple of HTML files. For ease of use, I have a shortcut to the index.html in my browser and launch aria2 on startup from my .zshrc.

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by brbsix on Friday April 08, 2016 @11:51AM (#11455544)
Agreed webui-aria2 is great. I wrote a little launcher script for it that configures the RPC secret, download directory, and other settings, starts aria2c, then opens up the WebUI in a Chrome kiosk. https://github.com/brbsix/aria2-webui-launcher/blob/master/a...
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by koolba on Thursday April 07, 2016 @01:49PM (#11449137)
If they add a "--download-over-tor" flag[1] this would be awesome.

[1]: Yes we all know that it's not a good idea to download torrents and other large content over tor (for various technical and non-technical reasons) but it'd sure be convenient!

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by DarkLinkXXXX on Thursday April 07, 2016 @02:26PM (#11449415)
Is there a reason torify isn't sufficient?
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by brbsix on Friday April 08, 2016 @03:26PM (#11457200)
I've looked into this in the past and was not successful. `torify` doesn't work and aria2 doesn't have any option for configuring a SOCKS5 proxy. There's been quite a bit of discussion about this.[0]

A cursory search shows some people have recently found success with `--async-dns=false`[1]. Doesn't work for me, but maybe I'll try with the latest release and see if that changes things.

I eventually got aria2c to work over TOR with ProxyChains, but it's really not a fun process.

[0]: https://github.com/tatsuhiro-t/aria2/issues/153

[1]: https://github.com/tatsuhiro-t/aria2/issues/613

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by koolba on Thursday April 07, 2016 @02:35PM (#11449490)
Haven't heard of torify before but it looks cool. Does the app being invoked by it have to be able to use a SOCKS proxy or does it auto wrap all socket connections?
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by icebraining on Thursday April 07, 2016 @04:02PM (#11450184)
It auto-wraps them using tsocks.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by kbd on Thursday April 07, 2016 @03:40PM (#11450018)
Haven't heard of this tool until now. Say I already use wget (or curl) for command line downloads. Besides the ability to download torrents, why should I switch?
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by ATsch on Thursday April 07, 2016 @03:44PM (#11450049)
The biggest feature is probably being able to download a file from multiple URLs (or with multiple connections, if the server imposes a per-connection speed limit) at the same time
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by mih on Thursday April 07, 2016 @03:47PM (#11450070)
I for one prefer aria2c's ability to download a huge file via multiple parallel streams using the -x switch. AFAIK wget doesn't have this feature.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by Nux on Thursday April 07, 2016 @04:58PM (#11450665)
Try prozilla
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by h43k3r on Thursday April 07, 2016 @02:51PM (#11449612)
Aria2 is great.

I also used Axel[1] a lot (its lightweight) during my college days where we were behind an http proxy and increasing the number of connections would result in increased download speeds.

[1] http://axel.alioth.debian.org/

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by eknkc on Thursday April 07, 2016 @03:17PM (#11449832)
I've been using axel for a while and it worked great so far. I'd suggest it if you re looking for a linghtweight chunked downloader.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by Nux on Thursday April 07, 2016 @05:02PM (#11450690)
Wish it could be able to download dropbox/wetransfer/hitail/etc links.

I imagine it'd be quite hard to go through that JavaScript crap; I can barely do it myself with a browser. :)

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by AnthonBerg on Thursday April 07, 2016 @06:47PM (#11451308)
apt-fast is a very nice wrapper for apt-get / aptitude that uses aria2c to download packages MUCH faster. (It also automatically calls itself with sudo if you wish, i.e. automatically requests the sudo password if needed.)

https://github.com/ilikenwf/apt-fast

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by dTal on Friday April 08, 2016 @10:11PM (#11459571)
Debian do not like like such things as it puts pressure on the mirrors: https://lists.debian.org/deity/2015/08/msg00379.html

The message mentions "httpredir.debian.org" as a "good and nice quasi-replacement". I use it myself - it also results in pleasingly speedy apt downloads, and has the additional advantages of official support and requiring no setup beyond a line in sources.lst.

I'm not going to try this, but it seems to me that apt-fast and http-redir could be combined. I wonder how fast that would go...

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by voltagex_ on Thursday April 07, 2016 @09:56PM (#11452115)
I wish it was written as an apt-method, or even a replacement for /var/lib/methods/http. I suspect the lack of documentation for apt methods has made this unlikely.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by AnthonBerg on Friday April 08, 2016 @05:45AM (#11453573)
The Debian base is in many respects beautiful, but it also seems quite fossilized and rigid to me.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by TeMPOraL on Thursday April 07, 2016 @01:04PM (#11448811)
Aria2 is awesome. Probably the most commonly typed in command (besides ls) on my home computer is "aria2c (xclip -o)".
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by leni536 on Thursday April 07, 2016 @01:28PM (#11448998)
Then you probably want to alias it.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by TeMPOraL on Thursday April 07, 2016 @01:37PM (#11449051)
Thanks to fish shell, it's usually only a C-f away. Or quite often even arrow up away. :).
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by baldfat on Thursday April 07, 2016 @01:55PM (#11449184)
I actually due have a alias for exactly this

dlit (down load it)

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by known on Friday April 08, 2016 @02:20AM (#11452887)
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by DiThi on Thursday April 07, 2016 @02:54PM (#11449641)
Did anyone had luck seeding aria's DHT for downloading magnet links?
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by johnchristopher on Thursday April 07, 2016 @04:34PM (#11450471)
Back when I used aria it seemed to work with the default one mentioned in the man page (I think).
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by edward on Thursday April 07, 2016 @01:26PM (#11448974)
git-annex uses aria2 for torrent downloads
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by npongratz on Thursday April 07, 2016 @03:02PM (#11449708)
In case anyone wanted it from the source, here is Joey Hess's announcement from a little more than a year ago:

http://git-annex.branchable.com/devblog/day_239-240__bittorr...

And reference to git-annex's bittorrent special remote:

http://git-annex.branchable.com/special_remotes/bittorrent/

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by voltagex_ on Thursday April 07, 2016 @09:57PM (#11452118)
aria2 will eventually support chunked transfers over sftp, too - then I can get rid of lftp.
Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by jakozaur on Friday April 08, 2016 @04:05AM (#11453256)
aria2c is absolutely awesome for dev ops.

A lot of regular download clients got problems if you have 1000+ servers downloading 100MB+ and hit a lot of stragglers. I find aria2c very reliable and performant comparing to other client.

Re:Aria2: CLI downloader for HTTP, FTP, torrents, metalinks by jamespacileo on Thursday April 07, 2016 @08:33PM (#11451787)
Running on Windows too now! :)