ANI-CLI(1)
β¨ ANI-CLI(1) β User Commands β¨ π
Okay so bestie, the manual name is ani-cli and it's all about watching anime straight from the commandline π¦ It's giving terminal main character energy, no cap π
πΈ NAME πΈ
ani-cliβ watch anime from the commandline π
π§ SYNOPSIS π§
ani-cli [OPTIONS]
π DESCRIPTION π
Ngl, this is a shell script that lets you browse and search anime right from your terminal β¨ It scrapes the site allanime, so you know where the tea is coming from π
Without any options, ani-cli defaults to iina on macOS, flatpak mpv on Steamdeck, mpv apk on android, vlc on iOS, and mpv media player everywhere else. Iykyk π
π OPTIONS π
-e,--episode,-r,--range<episode> β Pick the episode numbers you want to watch π¦ If you give a range, quote it or separate the numbers with a non-numeric character (eg.-), bestie.-c,--continueβ Pick up where you left off, straight from your history π₯-d,--downloadβ Download the episode πΎ-D,--deleteβ Delete your history π-l,--logviewβ Show the logs π-h,--helpβ Show a summary of the options π«Ά-q,--quality<best|worst|360|480|720|1080> β Set the video quality. The default isbest, obviously π-s,--syncplayβ Watch anime together with your friends using Syncplay π₯Ή (works with mpv only)-U,--updateβ Fetch an update from GitHub π-v,--vlcβ Use VLC as the media player π¬-S,--select-nth<index> β Select the nth entry β¨-N,--nextep-countdownβ Print a countdown to the next episode as the last episode in the list. This happens if the history is after the current episode π--dubβ Play the dubbed version. Without this flag, it'll always play the subbed version π§--rofiβ Use rofi instead of fzf for the interactive menu πͺ--skipβ Use ani-skip to skip the intro of the episode (mpv only) βοΈ--no-detachβ Don't detach the player. Useful for in-terminal playback (mpv only) πΊ--exit-after-playβ Exit the player and return the player exit code. Super useful for non-interactive scenarios (mpv only) π€--skip-title<title> β Specify the title to use for ani-skip π·οΈ
π ENVIRONMENT VARIABLES π
Okay so ani-cli v4 has env vars for the unstable, untested, and niche features, on top of everything that has an option. Command-line options take precedence over env vars. These are all subject to change, so stay on your toes π
ANI_CLI_MODEβ Controls the scraped media's mode. Valid options aresubordub. Default issubπ§ANI_CLI_DOWNLOAD_DIRβ Controls the directory where files are downloaded. Default is the current dir πANI_CLI_QUALITYβ Controls the scraped media's quality. Check allanime for valid options, or set it toworstorbest. Default isbestπANI_CLI_PLAYERβ Sets the playerani-cliuses. Can bedebug(prints links),download(equivalent to-d),android_mpv(apk andam start),android_vlc(apk andam start),flatpak_mpv(for flatpak),catt(for streaming to TV), or any player that can play URLs. For defaults, see "working without arguments" π₯ANI_CLI_EXTERNAL_MENUβ Controls the frontend ofani-cli. Can be0(uses fzf) or1(uses rofi dmenu). Default is0πͺANI_CLI_EXTERNAL_MENU_NORMAL_WINDOWβ Controls the way rofi displays the window. Can be0(no additional arguments passed to rofi) or1(the menu shows as a normal window, and the-normal-windowargument is passed to rofi). Default is0πͺANI_CLI_LOG_EPISODEβ Controls the logging feature for playback. Can be1(logs) or0(doesn't log). Default is1πANI_CLI_MULTI_SELECTIONβ Controls the multi flag for the chosen frontend. Default is-mfor fzf and--multi-selectfor rofi dmenu π«§ANI_CLI_HIST_DIRβ Controls the directoryani-cliuses to store history. A/ani-clisubfolder is created there for the histfile if it doesn't exist. Default is$XDG_STATE_HOMEif set,$HOME/.local/stateif not πANI_CLI_DEFAULT_SOURCEβ Controls the default source. Valid ishistory(equivalent to-c); everything else means search. Default issearchπANI_CLI_SKIP_INTROβ Controls whether ani-skip is used to skip intros (works with mpv only). Can be0(disabled) or1(enabled). Default is0βοΈANI_CLI_NO_DETACHβ Controls whether mpv is detached from the main process for playback. This can be useful with terminal renderers such as kitty (works with mpv only). Can be0(disabled) or1(enabled). Default is0π±ANI_CLI_SKIP_TITLEβ Overrides the anime title to query for skip times. Can be any string value. Default is empty, which resolves to the anime title as given byani-cliπ·οΈ
π¦ EPISODE SELECTION π¦
Multiple episodes can be chosen using the multi-selection mode of fzf (or whatever alternative frontend you're using). Check their instructions for how to do this π
π¨ BUGS π¨
Something feeling off? Head to the GitHub issue tracker: https://github.com/pystardust/ani-cli/issues π
π COPYRIGHT π
ani-cli is licensed under the GNU General Public License v3.0 π
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. π«Ά
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. π
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. πΈ
Bestie, that's the whole tea β¨ ani-cli, version January 2023, cute as ever ππ
π¦ where this page comes from
- debian trixie: ani-cli 4.10-1 Β· GPL-3.0-or-later
- ubuntu resolute: ani-cli 4.10-1 Β· GPL-3.0-or-later
- ubuntu stonking: ani-cli 4.14.0-1 Β· GPL-3.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms