# youtube.cli (Rust rewrite)
Terminal YouTube TUI written in Rust + ratatui. Features:
- Search videos from the terminal
- Browse results list
- Play videos as color ASCII frames with audio
## Dependencies
You need these external tools installed:
- `yt-dlp`
- `ffmpeg` (includes `ffprobe` and `ffplay`)
## Run
```zsh
cargo run
```
## Controls
Search screen:
- Type to enter query
- `Enter` to search
- `q` to quit
Results screen:
- `Up/Down` to move
- `Enter` to play
- `s` to search again
- `q` to quit
Player:
- `q` or `Esc` to stop playback
## Notes
- Videos are downloaded to `/tmp/youtube_cli` and reused.
- Playback is color ASCII rendered in the terminal with a time/progress bar.
## License
MIT