Crates.io | anirust |
lib.rs | anirust |
version | 0.1.2 |
source | src |
created_at | 2023-11-04 04:46:17.205443 |
updated_at | 2023-11-06 09:45:26.083492 |
description | CLI tool to watch and download anime |
homepage | |
repository | |
max_upload_size | |
id | 1024969 |
size | 174,712 |
Anirust is a CLI tool to watch anime.
Inspired by (☞゚ヮ゚)☞ ani-cli
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
Select Video Player:
Download manager:
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.
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"
Clone the Repository:
Use git
to clone the repository:
git clone https://github.com/personalshiva/anirust.git
Navigate to the Project Directory:
cd anirust
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.