Skip to content

noob1993/ani-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation





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

Table of Contents

Usage

  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

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

Windows

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

Android

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

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
  • diff - Update checking
  • patch - Update checking

About

A cli tool to browse and play anime

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%