/ani-cli

A cli tool to browse and play anime

Primary LanguageShellGNU General Public License v3.0GPL-3.0





A cli to browse and watch anime. This tool scrapes the site gogoanime.

Showcase

Table of Contents

Install

Arch

Also consider ani-cli-git

yay -S ani-cli

Linux

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

Mac

Install homebrew (Guide)

brew tap iamchokerman/ani-cli
brew install ani-cli

If you are upgrading from the old manual install process, you may have to remove the old ani-cli by running sudo rm /usr/local/bin/ani-cli

Windows

Note that the installation instruction below must be done inside Powershell as administrator, not in Command Prompt

Install scoop (Guide)

scoop bucket add extras
mkdir -p "$env:USERPROFILE/.cache"
scoop install ani-cli -g

Make sure git bash is installed (Install)

You can run ani-cli in Git Bash(recommended) or from any Windows console, e.g Windows Terminal,Command Prompt,Powershell

Android

Install termux (Guide)

pkg install git 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 'am start --user 0 -a android.intent.action.VIEW -d "$2" -n is.xyz.mpv/.MPVActivity' > $PREFIX/bin/mpv
chmod +x $PREFIX/bin/mpv
echo 'am start --user 0 -a android.intent.action.VIEW -d "$2" -n org.videolan.vlc/org.videolan.vlc.gui.video.VideoPlayerActivity' > $PREFIX/bin/vlc
chmod +x $PREFIX/bin/vlc

Uninstall

  • 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

Dependencies

  • grep
  • sed
  • curl
  • openssl
  • mpv - Video Player
  • aria2 - Download manager