/manga-cli

📖 Bash script for reading mangas via the terminal

Primary LanguageShellGNU General Public License v3.0GPL-3.0

preview.mp4

manga-cli

Bash script for reading mangas via the terminal by scraping manganato

Table of Contents

Usage

Bash script for reading mangas via the terminal

Usage:
	manga-cli [Option] [Manga Name]

Options:
	-h, --help		Print this help page
	-V, --version		Print version number
	-u, --update		Fetch latest version from the Github repository
	-f, --fullscreen	Open Zathura in fullscreen mode 
	-l, --last-session    	Open last session
	-c, --cache-size	Print cache size ($HOME/.cache/manga-cli)
	-C, --clear-cache	Clear cache ($HOME/.cache/manga-cli)
	-d, --download cache    Downloads the manga. Doesn't tries to read it
	-i, --image-output      Saves the manga as image without converting to pdf
	-r, --reader COMMAND    Runs COMMAND with the path to the pdf/images when trying to read the manga

Install

Arch Linux

Use the AUR helper of your choice or install manga-cli-git manually

Use the following commands when using yay or paru:

yay -S manga-cli-git
paru -S manga-cli-git

Linux

Install dependencies (See below)

git clone https://github.com/7USTIN/manga-cli && cd manga-cli
sudo cp manga-cli /usr/local/bin/manga-cli

Dependencies

Core dependencies

  • GNU coreutils (ls, tr, rm, du, cat, mkdir)
  • GNU gawk (awk)
  • GNU sed
  • curl
  • git

Optional dependencies

(These may not be needed depending on flags provided)

  • GNU diffutils (diff)
  • GNU patch
  • img2pdf
  • zathura
  • zathura-pdf-mupdf OR zathura-pdf-poppler