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>] [-e <arguments>] [-a <episode>] [-d | -p <download_dir>] [<query>]
  ani-cli [-v | -i] [-q <quality>] [-e <arguments>] -c
  ani-cli -h | -D | -U | -V

Options:
  -c continue watching anime from history
  -e pass arguments to player/downloader
  -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

 Passing arguments:
   Put all the arguments inside quotes '' or ""
   Seperate the arguments with spaces
   For e.g.
  ani-cli -e '--brightness=-15 --gamma=-15 --pause'

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 ncurses-utils openssl-tool -y
git clone https://github.com/pystardust/ani-cli
cd ani-cli
cp ani-cli /data/data/com.termux/files/home/bin/ani-cli
chmod +x /data/data/com.termux/files/home/bin/ani-cli
echo 'am start --user 0 -a android.intent.action.VIEW -d "$$3" -e "http-header-fields" "$$2" -n is.xyz.mpv/.MPVActivity' > /data/data/com.termux/files/home/bin/bin/mpv
chmod +x /data/data/com.termux/files/home/bin/bin/mpv

Windows

  • Download and install dependencies
  • If you choose vlc, add it to path (Guide)
  • Download and install git bash
  • Open git bash by right-clicking and choosing "Run as administrator"
  • Run the following commands
git clone https://github.com/pystardust/ani-cli.git
cd ani-cli
mkdir -p "$(USERPROFILE)/.cache"
cp ani-cli $WINDIR/system32/ani-cli

Uninstall

Just remove the thing from path lul

ani-cli's People

Contributors

port19x avatar pystardust avatar dink4n avatar raynardgerraldo avatar coolnsx avatar derisis13 avatar nasseef20 avatar drabart avatar duncanjake1 avatar 71zenith avatar 3ricsonn avatar malertach avatar justchokingaround avatar baaboe avatar humanman007 avatar lukasz825700516 avatar kungger-git avatar kernelwernel avatar truboxl avatar carlosloboxyz avatar torvalds avatar deeoxys avatar r2dev2 avatar pdamianik avatar meteor314 avatar joao-vitor-sr avatar jnishwanth avatar guy-732 avatar sergiocampoy avatar rafaeruo 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.