#anime #cli #xdcc

bin+lib mahou

Magically easy anime downloads

4 releases

0.1.3 May 3, 2023
0.1.2 Apr 30, 2023
0.1.1 Apr 29, 2023
0.1.0 Apr 29, 2023

#30 in #anime


635 lines


Magically easy anime downloader

How to use

Either download the latest release and run the executable, or build it from source by running

cargo install mahou

That's it! If it doesn't find the mahou executable, try adding ~/.cargo/bin to your $PATH.

You should also set an alias for mahou with your preferred settings, for example:

# ~/.bashrc
alias mahou="mahou --res 1080p --directory $HOME/Downloads"


You can configure mahou to automatically download anime without user input, for example to download the latest episode of a show in a cronjob. To do this, you're going to have to use almost every flag:

mahou --search "Name of the show" --episode latest \
      --res 1080p --directory $HOME/Downloads/Seasonal \
      --filter "holland ipv6" --download-first


Heavily inspired by anime-cli (if it was a library I would have used it instead of... copying code from it... :/)


~420K SLoC