Skip to content
/ ani-cli Public
forked from pystardust/ani-cli

A cli tool to browse and play anime

License

Notifications You must be signed in to change notification settings

faiazu/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 | -i] [-q <quality>] [-a <episode>] [-d | -p <download_dir>] [<query>]
  ani-cli [-v | -i] [-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)
  -i use iina as the media player
  -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

Dependencies

Essential

grep
sed
curl
openssl
mpv
aria2

Optional

iina - The recommended video player for Mac
vlc - The recommended video player for Windows
diff - Update checking
patch - Update checking

Install

Linux

Arch Linux

yay -S ani-cli

Other

git clone https://github.com/pystardust/ani-cli
cd ani-cli
sudo cp ani-cli /usr/local/bin/ani-cli
sudo chmod +x /usr/local/bin/ani-cli

Mac

git clone https://github.com/pystardust/ani-cli
cd ani-cli
cp ani-cli /usr/local/bin/ani-cli
sudo chmod +x /usr/local/bin/ani-cli

Android/Termux

pkg update
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
chmod +x $PREFIX/bin/ani-cli
echo 'termux-open "$2"' > $PREFIX/bin/mpv
chmod +x $PREFIX/bin/mpv

Windows

  • Open Powershell by right-clicking and choosing "Run as administrator"
  • Download scoop Guide
  • If you haven't, download and install git and git bash scoop install git
  • Run the following commands
scoop bucket add extras
mkdir -p "$env:USERPROFILE/.cache"
scoop install ani-cli -g
  • If you want to use vlc, do scoop install vlc
  • Then, open git bash by right-clicking and choosing "Run as administrator"
  • Run ani-cli Usage

Scoop updates are based on releases, to get updates before releases, do ani-cli -U

Uninstall

Just remove the thing from path lul

About

A cli tool to browse and play anime

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%