Terminal-based anime discovery and streaming tool
Project description
Kuro Anime
Terminal-based anime discovery and streaming tool. Search anime, browse airing shows, view details, download episodes, and stream them — all from your terminal.
Features
- Search — Find any anime by title; persistent short codes for instant lookups
- Currently Airing — Browse the latest releases with pagination
- Detailed Info — Synopsis, genres, relations, recommendations, metadata
- Episode Listings — Browse episodes with pagination and sort order
- Streaming — Interactive episode/quality picker → mpv
- Download — Extract video URLs or batch-download episodes
- Doctor —
kuro doctorchecks all system dependencies with install instructions - Shell Completion —
kuro completion bash|zsh|fishgenerates completion scripts - History —
kuro historytracks recent searches, watches, and downloads - Config Init —
kuro initgenerates a commented default configuration
Installation
Requires Python 3.10+, mpv (for kuro watch), and ffmpeg (for kuro download).
pip install kuro-anime
To install from source:
git clone https://github.com/awtawsif/kuro_anime.git
cd kuro_anime
pip install .
Configuration
A default config is auto-generated on first run. Edit ~/.kuro_anime/config.toml to customize:
[defaults]
output_dir = "~/Videos" # download destination
quality = "best" # preferred resolution: "best", "1080", "720", etc.
language = "jpn" # preferred audio language: "jpn", "eng", etc.
player = "mpv" # video player binary (mpv, vlc, iina, etc.)
[download]
filename_template = "{title} - EP{episode:02d}.mp4"
You can also run kuro init --force to regenerate the default config. CLI flags override config values when both are supplied.
Quick Start
# Search for an anime (generates short codes)
kuro search "One Piece"
# View details using a short code
kuro detail onpi
# Browse episodes and watch
kuro watch onpi
# See what's currently airing
kuro airing --page 1
Commands
Run kuro <command> --help for full usage. All commands accept --json for machine-readable output.
| Command | Description |
|---|---|
search <query> |
Search anime by title (generates short codes) |
airing |
Browse currently airing anime |
detail <anime> |
Show synopsis, metadata, relations, recommendations |
episodes <anime> |
List episodes with pagination and sort |
watch <anime> |
Interactive episode/quality picker → mpv |
download <anime> |
Download episodes (single or batch) |
doctor |
Check system dependencies |
completion <shell> |
Generate shell completion (bash/zsh/fish) |
history |
Show recent searches, watches, downloads |
init |
Generate commented default config |
Identifiers can be a short code (onpi), a UUID, or a kebab-case slug (one-piece). Short codes persist across sessions.
State
Persisted to ~/.kuro_anime/state.json. Short codes, session mappings, a kwik-cache, and activity history live there. Delete the file to reset all state.
FAQ
"mpv not found": Install mpv — sudo apt install mpv (Debian/Ubuntu), brew install mpv (macOS), sudo dnf install mpv (Fedora).
"ffmpeg not found": Install ffmpeg — sudo apt install ffmpeg (Debian/Ubuntu), brew install ffmpeg (macOS), sudo dnf install ffmpeg (Fedora).
"Could not resolve": The identifier wasn't a short code, UUID, or matching slug. Run kuro search <query> first.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kuro_anime-1.7.4.1.tar.gz.
File metadata
- Download URL: kuro_anime-1.7.4.1.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6db19b1756f575856a5003114948cc1982b607a7f028374eaf8be504f021ed8f
|
|
| MD5 |
49f47ddd9bd7c8e6913f5db9093e69b5
|
|
| BLAKE2b-256 |
e832c9a08a734b727b306265c7d29038e9ec2f402c68a04417705ac09986af4b
|
Provenance
The following attestation bundles were made for kuro_anime-1.7.4.1.tar.gz:
Publisher:
publish.yml on awtawsif/kuro_anime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kuro_anime-1.7.4.1.tar.gz -
Subject digest:
6db19b1756f575856a5003114948cc1982b607a7f028374eaf8be504f021ed8f - Sigstore transparency entry: 1694579849
- Sigstore integration time:
-
Permalink:
awtawsif/kuro_anime@0e24b215aecffec57c54a5fec1499c6bd6a9bfd1 -
Branch / Tag:
refs/tags/v1.7.4.1 - Owner: https://github.com/awtawsif
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0e24b215aecffec57c54a5fec1499c6bd6a9bfd1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kuro_anime-1.7.4.1-py3-none-any.whl.
File metadata
- Download URL: kuro_anime-1.7.4.1-py3-none-any.whl
- Upload date:
- Size: 40.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99762b3f920bfe321e531df120e6b1082d3cd9917268c7dafe8f4f3be7c15dc7
|
|
| MD5 |
b31219467b0a9863d31b7f446cbbf6f6
|
|
| BLAKE2b-256 |
d524b0b11ca80022c91d5ae893c8e1b5ad97a83be7d97bdf5adb45c6d2b546ca
|
Provenance
The following attestation bundles were made for kuro_anime-1.7.4.1-py3-none-any.whl:
Publisher:
publish.yml on awtawsif/kuro_anime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kuro_anime-1.7.4.1-py3-none-any.whl -
Subject digest:
99762b3f920bfe321e531df120e6b1082d3cd9917268c7dafe8f4f3be7c15dc7 - Sigstore transparency entry: 1694580134
- Sigstore integration time:
-
Permalink:
awtawsif/kuro_anime@0e24b215aecffec57c54a5fec1499c6bd6a9bfd1 -
Branch / Tag:
refs/tags/v1.7.4.1 - Owner: https://github.com/awtawsif
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0e24b215aecffec57c54a5fec1499c6bd6a9bfd1 -
Trigger Event:
push
-
Statement type: