/ani-cli

A cli tool to browse and play anime

Primary LanguageShellGNU General Public License v3.0GPL-3.0

PRs Welcome Maintenance Maintainer Maintainer Maintainer Maintainer Linux Mac Windows

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

Thank you @drabart for the ep 6.5 bugfix

Usage

Watch anime
  ani-cli (OPTION) (query)

Options
  -u shows anime from history with unwatched episodes
  -n show recent anime
  -h show helptext
  -d download episode
  -H continue where you left off
  -D delete history
  -q set video quality (**best**/worst/360/480/720/1080)
  -k on keypress navigation (previous/next/replay/quit episode)
  --dub play the dub version if present
  -v use VLC as the media player

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

Dependencies

Essential

grep
curl
sed
ffmpeg
git

Optional

mpv - The default video player (recommended)
vlc - An alternative video player

Install

Linux / Mac

git clone https://github.com/pystardust/ani-cli.git
cd ani-cli
sudo make

Windows

  • Download and install gitbash
  • Download and install vlc (mpv needs further testing)
  • Add vlc to Windows Env PATH like so: C:\Program Files\VideoLAN\VLC.
  • Open git bash by right-clicking and choosing "Run as administrator"
  • Run the following commands
git clone -b windows-vlc https://github.com/pystardust/ani-cli.git
cd ani-cli
chmod +x ani-cli-win
./install

Disclaimer

The disclaimer of this project can be found here.