Giter Club home page Giter Club logo

ani-cli's Introduction





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
    To select the last episode use "-1"

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

Mac (with Homebrew)

brew tap iamchokerman/ani-cli
brew install 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
  • If you're on Mac, you can run brew uninstall ani-cli

ani-cli's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.