Watch anime from your terminal. Built with Go, inspired by ani-cli.
Search β Find anime by title via GraphQL API Stream β Play episodes directly in mpv or VLC Interactive TUI β Arrow-key navigation, filtering, episode picker (powered by bubbletea) Quality selection β Choose from available streams (1080p, 720p, etc.) or auto-select best/worst Sub & Dub β Switch between subbed and dubbed versions Post-playback menu β Next/previous episode, replay, pick another episode
Go 1.26+ (to build) mpv or VLC (video player)
brew install mpvsudo apt install mpvsudo pacman -S mpvgit clone https://github.com/radar07/go-ani.git
cd go-ani
go build -o go-ani .
./go-ani --helpgo install github.com/radar07/go-ani@latest# Interactive: opens TUI search input
go-ani search
# Direct: search by name
go-ani search "one punch man"# Full interactive flow: search β select β pick episode β play
go-ani play
# Search and select interactively, then play
go-ani play "one punch man"
# Skip straight to episode 1
go-ani play "one punch man" -e 1
# Dubbed, 720p quality, using VLC
go-ani play "one punch man" -e 1 --dub -q 720 -p vlc| Flag | Short | Description | Default |
|---|---|---|---|
| --player | -p | Video player (mpv / vlc) | mpv |
| --quality | -q | Quality (best / worst / 1080 / 720) | best |
| --dub | Use dubbed version | false (sub) | |
| --episode | -e | Episode number (play/download only) | interactive |
| Key | Action |
|---|---|
| β β | Navigate lists |
| Enter | Select / confirm |
| / | Filter results or episodes |
| Esc | Go back |
| q | Quit |
| Ctrl+C | Force quit |
Environment variables (set in your shell profile):
| Variable | Description | Default |
|---|---|---|
| ANI_PLAYER | Default video player | mpv |
| ANI_QUALITY | Default quality preference | best |
| ANI_MODE | Default mode (sub / dub) | sub |
| ANI_DOWNLOAD_DIR | Download directory | . |
| ANI_NO_DETACH | Keep player in foreground | false |
- Watch history + continue command
- Episode download support
- IINA player support (macOS)
- Homebrew tap
Inspired by ani-cli TUI powered by Charm (bubbletea, bubbles, lipgloss)