Skip to content

A cli tool to browse and play anime. Now with added easy Install. 🥰

License

Notifications You must be signed in to change notification settings

DaBigBlob/ani-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



A cli to browse and watch anime (alone AND with friends). This tool scrapes the site gogoplay.

with auto-install scripts

Showcase

ani-cli.mp4

Table of Contents

Fixing errors

If you encounter "Video url not found" or any breaking issue, then make sure you are on latest version by typing sudo ani-cli -U to update on Linux, Mac and Android. On Windows, run gitbash as administrator then there type ani-cli -U. If after this the issue persists then open an issue.
If you see sed warnings or your history entries have disappeared after updating, then update your history file with the history transition script.

curl -s "https://raw.githubusercontent.com/dabigblob/ani-cli/master/hist_transition.sh" | sh

It doesn't work for all anime, but the ones it can't find will print out alongside their episode numbers. In the end clean up: rm -rf ./ani-cli

Install

Linux

Install dependencies (See below)

curl -s "https://raw.githubusercontent.com/dabigblob/ani-cli/master/install" | sudo sh

Note that mpv installed through flatpak is not compatible

Also note that if you don't use GNU, this install script MIGHT not work.

MacOS

Install dependencies (See below)

Install HomeBrew if not installed.

curl -s "https://raw.githubusercontent.com/dabigblob/ani-cli/master/install" | sh

To install (with Homebrew) the dependencies required on Mac OS, you can run:

brew install curl grep aria2 iina [email protected] ffmpeg git

Why iina and not mpv? Drop-in replacement for mpv for MacOS. Integrates well with OSX UI. Excellent support for M1. Open Source.

Windows

Note that the installation instruction below must be done inside Git Bash, not in Command Prompt or Powershell

curl -s "https://raw.githubusercontent.com/dabigblob/ani-cli/master/install" | sh

Make sure git bash is installed (Install)

Run ani-cli in Git Bash (Running it in cmd or powershell may or may not work)

Android

Install termux (Guide)

curl -s "https://raw.githubusercontent.com/dabigblob/ani-cli/master/install" | sh

Make sure to add the referrer in mpv by opening mpv (playstore version), going into Settings -> Advanced -> Edit mpv.conf and adding:

referrer="https://gogoanime.fi/"

In the case mpv only plays audio, you can try running this command:

echo 'am start --user 0 -a android.intent.action.VIEW -d "$1" -n is.xyz.mpv/.MPVActivity' > $PREFIX/bin/mpv

Uninstall

  • Linux:
curl -s "https://raw.githubusercontent.com/dabigblob/ani-cli/master/uninstall" | sudo sh
  • Mac:
curl -s "https://raw.githubusercontent.com/dabigblob/ani-cli/master/uninstall" | sh
  • Windows:
curl -s "https://raw.githubusercontent.com/dabigblob/ani-cli/master/uninstall" | sh
  • Android:
curl -s "https://raw.githubusercontent.com/dabigblob/ani-cli/master/uninstall" | sh

Dependencies

  • grep
  • sed
  • awk
  • curl
  • openssl
  • mpv - Video Player
  • iina - mpv replacement for MacOS
  • aria2 - Download manager
  • ffmpeg - m3u8 Downloader

Homies

  • animdl: Ridiculously efficient, fast and light-weight (supports most sources: animixplay, 9anime...) (Python)
  • anime-helper-shell: A python shell for searching, watching, and downloading anime (Python)
  • anipy-cli: ani-cli rewritten in python (Python)
  • dra-cla: ani-cli equivalent for korean dramas (Shell)
  • kaa.si-cli: Stream anime from kaa.si and sync with anilist (Python)
  • manga-cli: Read manga in the cli (Shell)
  • mov-cli: Watch movies/tv shows in the cli (work in progress) (Python/Shell)
  • saikou: Best android app for anime/manga with anilist integration (Kotlin)

About

A cli tool to browse and play anime. Now with added easy Install. 🥰

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%