A terminal music player for YouTube — search, stream, and control playback from the command line.
Audiomancer streams audio from YouTube directly in your terminal. No browser, no video, no clutter — just search, play, and control everything with your keyboard.
Requires yt-dlp and mpv installed and on your PATH.
brew install yt-dlp mpv
sudo apt install mpv pip install -U yt-dlp
scoop install yt-dlp mpv
npm install -g audiomancer
<query>Search YouTube and play the first matching result.<query>List matching results without playing anything.<url-or-id>Play a specific video by URL or ID.# Search and play adt play lofi hip hop radio # Browse search results adt search daft punk # Play by ID or URL adt id dQw4w9WgXcQ
| Key | Action |
|---|---|
space | Pause / resume |
→ / ← | Seek ±10 seconds |
+ / - | Volume up / down |
q | Quit |
yt-dlp searches YouTube and resolves a direct audio stream URL (no file is downloaded). mpv plays that stream with --no-video, exposing an IPC socket for control. The CLI talks to mpv over that socket to pause, seek, and adjust volume live.
You (terminal) ──→ audiomancer CLI
├── yt-dlp (search + resolve URL)
└── mpv (play audio, IPC socket)
└── blessed TUI (progress & status)Open-source under MIT license. Available on GitHub.