Search and stream songs right inside your editor — discoverable with Telescope, played through mpv, and managed with simple commands. Fast, minimal, and theme-agnostic.
https://github.com/user-attachments/assets/8f8d948f-6640-4dc7-a464-cd4f847a817d
brew install mpv yt-dlp
# mpv
sudo apt update
sudo apt install mpv -y
Follow installation steps for yt-dlp
from here
{
"rits1272/riff.nvim",
dependencies = { "nvim-telescope/telescope.nvim" },
opts = {
ytdlp_cmd = "yt-dlp",
status_echo_delay_ms = 10,
},
}
use {
"rits1272/riff.nvim",
requires = { "nvim-telescope/telescope.nvim" },
config = function()
require("riff").setup({
ytdlp_cmd = "yt-dlp",
status_echo_delay_ms = 10,
})
end,
}
:Riff <query>
– search and queue/play a song:RiffQueue
– check queue and add/edit/play songs:RiffPause
– check queue and add/edit/play songs:RiffResume
– check queue and add/edit/play songs:RiffQueueNext
– play next song in the queue or if queue is exhaused, auto-play next song:RiffQueueShuffle
– shuffle queue:RiffQueueClear
– remove all songs from queue:RiffStop
– stop playbackInside the Telescope picker:
yt-dlp
internally to fetch audio stream from YT. YT sometimes may block downloading audio streamings to yt-dlp