App::ManiacDownloader - a maniac download accelerator.


version 0.0.13


    # To download with 10 segments
    $ mdown -k=10


This is Maniac Downloader, a maniac download accelerator. It is currently very incomplete (see the TODO.txt file), but is still somewhat usable. Maniac Downloader is being written out of necessity out of proving to improve the download speed of files here (which I suspect is caused by a misconfiguration of my ISP's networking), and as a result, may prove of use elsewhere.

The Secret Sauce

The main improvement of Maniac Downloader over other downloader managers is that if a segment of the downloaded file finishes, then it splits the largest remaining segment, and starts another new download, so the slowest downloads won't delay the completion time by much.

Answers to Questions about Maniac Downloader

Does Maniac Downloader always guarantee the best possible speed of download?

The short answer is: “No”. The longer answer is that in today’s Internet and networking world, there are simply too many factors at play to make sure that downloading using a certain way will always be the fastest. Maniac Downloader uses a certain scheme which may make things faster on certain conditions (namely that individual connections is being capped), but it may make the performance somewhat worse as well.

One thing we hope to guarantee is that it won’t make the download time much longer. If it does, please let us know.


$self->run({argv => [@ARGV]})

Run the application with @ARGV .


Asynchronous Programming FTW! 2 (with AnyEvent)

a talk by Sawyer X that introduced me to AnyEvent of which I made use for Maniac Downloader.

“Man Down”

“Man Down” is a song by Rihanna, which happens to have the same initialism as Maniac Downloader, and which I happen to like, so feel free to check it out:



The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

Bugs / Feature Requests

Please report any bugs or feature requests by email to bug-app-maniacdownloader at, or through the web interface at You will be automatically notified of any progress on the request by the system.

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

  git clone git://


Shlomi Fish <>


Please report any bugs or feature requests on the bugtracker website

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.


This software is Copyright (c) 2013 by Shlomi Fish.

This is free software, licensed under:

  The MIT (X11) License