#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

GPL-3.0-or-later

34KB
635 lines

Mahou

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
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"

Automation

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

T-thanks

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

Dependencies

~10–26MB
~420K SLoC