Metadata-Version: 2.4
Name: anime-tui
Version: 0.2.0
Summary: A terminal UI for streaming and downloading anime via ani-cli and AniList
Author: Panther
License-Expression: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: textual>=0.50.0
Requires-Dist: requests>=2.28.0

# anime-tui

A lightweight terminal user interface (TUI) for streaming and downloading anime via `ani-cli` and AniList.


## Features 
- Split-pane layout: searchable anime list on the left, episodes and metadata on the right.
- Stream and download powered by `ani-cli` and `mpv`.
- AniList API search integration.
- Application launcher shortcut included (`anime-tui.desktop`).

---


## Installation


### Option 1: Automatic (Recommended)

The install script detects your Linux distribution, auto-installs missing dependencies (`base-devel`, `mpv`, `ani-cli`, `pipx`), builds/the package, and sets up your desktop shortcut:


```bash
git clone https://github.com/Piyush-1927/anime-tui.git
cd anime-tui
./install.sh
```

---

### Option 2: Manual Installation

**Arch Linux:**
```bash
sudo pacman -S --needed base-devel git mpv
yay -S --needed ani-cli
makepkg -sric
```

**Debian / Ubuntu:**
```bash
sudo apt update && sudo apt install -y mpv git pipx python3-pip
git clone --depth 1 https://github.com/pystardust/ani-cli.git /tmp/ani-cli
sudo cp /tmp/ani-cli/ani-cli /usr/local/bin/
pipx ensurepath && pipx install .
```

**Fedora / RNEL:**
```bash
sudo dnf install -y mpv git pipx
git clone --depth 1 https://github.com/pystardust/ani-cli.git /tmp/ani-cli
sudo cp /tmp/ani-cli/ani-cli /usr/local/bin/
pipx ensurepath && pipx install .
```

---

## Usage

Run directly from your terminal:
```bash
anime-tui
```
Or launch **Anime TUI** from your application launcher.
