Coder Social home page Coder Social logo

ani-cli's Introduction





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

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/pystardust/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

Arch

Also consider ani-cli-git

yay -S ani-cli

Linux & Mac OS

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

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

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

Windows

Note that the installation instruction below must be done inside Powershell as administrator, not in Command Prompt

Install scoop (Guide)

scoop bucket add extras
mkdir -p "$env:USERPROFILE/.cache"
scoop install ani-cli -g

Make sure git bash is installed (Install)

Exit Powershell, then in Git Bash, run

echo "export MSYS_NO_PATHCONV=1" >> ~/.bashrc
source ~/.bashrc

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

Android

Install termux (Guide)

pkg update
pkg install git termux-tools ncurses-utils openssl-tool ffmpeg -y
git clone https://github.com/pystardust/ani-cli && cd ani-cli
cp ani-cli $PREFIX/bin/ani-cli
echo 'am start --user 0 -a android.intent.action.VIEW -d "$1" -n is.xyz.mpv/.MPVActivity' > $PREFIX/bin/mpv
chmod +x $PREFIX/bin/mpv

Install mpv-android (Link)

Add referrer="https://gogoplay5.com" to mpv.conf (Open mpv app, goto three dots top right->Settings->Advanced-->Edit mpv.conf)

Note: VLC android doesn't support referrer option. So it will not work

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
  • 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)

ani-cli's People

Contributors

3ricsonn avatar 71zenith avatar baaboe avatar brahmkshatriya avatar carlosloboxyz avatar coolnsx avatar derisis13 avatar dink4n avatar drabart avatar duncanjake1 avatar fold-squirrel avatar freezboltz avatar frostbyteninja avatar humanman007 avatar justchokingaround avatar kernelwernel avatar kungger-git avatar lukasz825700516 avatar malertach avatar meteor314 avatar nasseef20 avatar port19x avatar pystardust avatar rafaeruo avatar rakusan2 avatar raynardgerraldo avatar rendevior avatar sergiocampoy avatar truboxl avatar xplo8e avatar

Stargazers

 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.