Riq Blog

Blog Built With NextJs

Watch Anime With CLI (Linux)

Cover Image for Watch Anime With CLI (Linux)

ani-cli

A cli to browse and watch anime.

This tool scrapes the site gogoanime.

Download

git clone https://github.com/pystardust/ani-cli.git

Install

cd ani-cli
sudo make

Usage

watch anime

ani-cli <query>

download anime

ani-cli -d <query>

resume watching anime

ani-cli -H

delete anime from history

ani-cli -D

set video quality

ani-cli -q 720

By default ani-cli would try to get the best video quality available
You can give specific qualities like 360/480/720/..

You can also use special names:

  • best: Select the best quality available
  • worst: Select the worst quality available

Multiple episodes can be viewed/downloaded by giving the episode range like so

Choose episode [1-13]: 1 6

This would open/download episodes 1 2 3 4 5 6

Dependencies

  • grep
sudo apt install grep
  • curl
sudo apt install curl
  • sed
sudo apt install sed
  • mpv
sudo apt install mpv
  • ffmpeg
sudo apt install ffmpeg
← Back