A cli to browse and watch anime. This tool scrapes the site gogoanime.
ani-cli [-v] [-q <quality>] [-a <episode>] [-d | -p <download_dir>] [<query>]
ani-cli [-v] [-q <quality>] -c
ani-cli -h | -D | -U | -V
Options:
-c continue watching anime from history
-a specify episode to watch
-h show helptext
-d download episode
-q set video quality (best|worst|360|480|720|1080)
-v use VLC as the media player
-D delete history
-U fetch update from github
-V print version number and exit
Episode selection:
Add 'h' on beginning for episodes like '6.5' -> 'h6'
Multiple episodes can be chosen given a range
Choose episode [1-13]: 1 6
This would choose episodes 1 2 3 4 5 6
To select the last episode use -1
When selecting non-interactively, the first result will be
selected, if anime is passed
Also consider ani-cli-git
yay -S ani-cli
Install dependencies (See below)
git clone https://github.com/pystardust/ani-cli && cd ani-cli
sudo cp ani-cli /usr/local/bin/ani-cli
Note that mpv installed through flatpak is not compatible
Install homebrew (Guide)
brew tap iamchokerman/ani-cli
brew install ani-cli
Install scoop (Guide)
scoop bucket add extras
mkdir -p "$env:USERPROFILE/.cache"
scoop install ani-cli
Ani-cli only runs in git bash, not powershell
Install termux (Guide)
pkg install git make termux-tools ncurses-utils openssl-tool -y
git clone https://github.com/pystardust/ani-cli && cd ani-cli
cp ani-cli $PREFIX/bin/ani-cli
echo 'termux-open "$2"' > $PREFIX/bin/mpv
- Arch Linux:
yay -R ani-cli
- Other Linux: Just remove the thing from path
- Mac:
brew uninstall ani-cli
- Windows:
scoop uninstall ani-cli
- Android: Just remove the thing from path
- grep
- sed
- curl
- openssl
- mpv - Video Player
- aria2 - Download manager
- diff - Update checking
- patch - Update checking