anirust

Crates.ioanirust
lib.rsanirust
version0.1.2
sourcesrc
created_at2023-11-04 04:46:17.205443
updated_at2023-11-06 09:45:26.083492
descriptionCLI tool to watch and download anime
homepage
repository
max_upload_size
id1024969
size174,712
(personalshiva)

documentation

README

anirust

Anirust is a CLI tool to watch anime.

Inspired by (☞゚ヮ゚)☞ ani-cli

Table of Contents

Quick Start

Install Rust and Cargo: If you haven't already installed Rust and Cargo, the easiest way is to use rustup, the Rust toolchain installer.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install anirust:

cargo install anirust

Uninstall:

cargo uninstall anirust

Dependencies

Select Video Player:

  • mpv
  • iina - mpv replacement for MacOS
  • vlc

Download manager:

  • aria2c - Default
  • yt-dlp - m3u8 Downloader
  • ffmpeg - m3u8 Downloader (fallback)
MacOS

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

brew install aria2 ffmpeg git yt-dlp && \
brew install --cask iina

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

Usage

For info, type:

anirust help

Examples:

open interactive menu:

anirust menu

search for show episodes:

anirust search berserk

download a range of episodes:

anirust download "chainsaw man" 1 10

Custom Configuration

Custom settings can be specified in ~/.config/anirust/config.toml file, such as:

[state]
quality = "best"
audio_mode = "sub"
download_dir = "Desktop/anime"

[player]
media_player = "iina"

Installation

From Source
  1. Clone the Repository: Use git to clone the repository:

    git clone https://github.com/personalshiva/anirust.git
    
  2. Navigate to the Project Directory:

    cd anirust
    
  3. Build and Install the Project: You can build and install the project using Cargo. To install the binary to a location in your PATH (~/.cargo/bin/), you can use:

    cargo install --path .
    

    Note: The --path . argument tells Cargo to install the crate in the current directory.

Commit count: 0

cargo fmt