Metadata-Version: 2.4
Name: animekai-dl-tmux
Version: 1.1.2
Summary: AnimeKAI anime downloader for Termux — CLI only, no GUI, pure terminal
Project-URL: Homepage, https://github.com/animekai-dl-tmux/animekai-dl-tmux
Project-URL: Bug Tracker, https://github.com/animekai-dl-tmux/animekai-dl-tmux/issues
Author: animekai-dl-tmux contributors
License: MIT
Keywords: anime,animekai,cli,downloader,hls,m3u8,termux
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Multimedia :: Video
Requires-Python: >=3.8
Requires-Dist: beautifulsoup4>=4.12.0
Requires-Dist: loguru>=0.7.0
Requires-Dist: pyfzf>=0.3.1
Requires-Dist: questionary>=2.0.0
Requires-Dist: requests>=2.28.0
Requires-Dist: rich>=13.0.0
Requires-Dist: tqdm>=4.65.0
Description-Content-Type: text/markdown

# animekai-dl-tmux

AnimeKAI anime downloader for Termux — CLI only, no GUI, pure terminal.

Search, select episodes, and download or stream anime from AnimeKAI directly in your terminal.

## Installation

```bash
pip install animekai-dl-tmux
```

**Termux dependencies:**
```bash
pkg install ffmpeg fzf
```

## Usage

```bash
# Interactive search and download
animekai "one piece"

# Select type (sub/dub/softsub) upfront
animekai "naruto" --type sub

# Download episodes 1–10
animekai "naruto" --episodes 1-10

# Pick specific episodes with comma notation
animekai "bleach" --episodes 1,5,10

# Best quality, sub, fully automatic
animekai "attack on titan" --type sub --quality 1080p --no-interactive

# Stream in mpv instead of downloading
animekai "naruto" --play

# Custom download directory
animekai "one piece" --output ~/Videos/Anime
```

## Options

| Flag | Description |
|------|-------------|
| `--type` / `-t` | Stream type: `sub`, `dub`, `softsub` |
| `--quality` / `-q` | Quality preference: `1080p`, `720p`, etc. |
| `--episodes` / `-e` | Episode range: `1`, `1-10`, `1,3,5` |
| `--server` / `-s` | Server name preference |
| `--output` / `-o` | Download directory |
| `--play` | Stream via mpv instead of downloading |
| `--player` | Media player for `--play` (default: mpv) |
| `--no-interactive` | Skip all prompts, use first available option |
| `--verbose` / `-v` | Enable debug logging |

## How It Works

1. Searches AnimeKAI via the search API
2. Fetches episode list from the watch page
3. Resolves streaming servers via the links API
4. Decrypts stream source via enc-dec.app
5. Downloads HLS stream via ffmpeg

## License

MIT
