mirror of
https://github.com/socatlolmeow/drift.git
synced 2026-11-03 19:27:19 +00:00
A minimal, reliable music player using Vim keybinds built in Rust.
- Rust 98.9%
- Shell 0.8%
- Nix 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| examples | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| install.sh | ||
| LICENSE | ||
| README.md | ||
Drift
A music streaming client using Vim keybinds built in Rust.
Stream your favourite music from YouTube Music — all in one client, in your terminal.
Features
- YouTube Music streaming - search and play tracks straight from YouTube Music, with no account or login
- Vim-style keybinds - move with
j/k, jump withgg/ge, use counts like5j, and open the command line with: - Song context menu - press
Gon any song for quick actions: play, queue, add to playlist, show artist, and song info - Command palette - a redesigned
:prompt with the full command set (:search,:seek,:vol,:import, and more) - Audio visualizer - a live visualizer in the bottom-left corner while music plays
- Playlists & queue - save, load, and reorder playlists, or import any YouTube / YouTube Music playlist by URL
- Artist browsing - press
gato jump to an artist's songs - Session restore - your queue and playback position come back the next time you launch
Installation
Arch Linux (AUR)
yay -S driftmusic-git
Any AUR helper works (paru -S driftmusic-git), or build it by hand:
git clone https://aur.archlinux.org/driftmusic-git.git
cd driftmusic-git
makepkg -si
mpv and yt-dlp are installed automatically.
Other distros
Install the dependencies:
Then build from source:
git clone https://github.com/socatlolmeow/drift.git
cd drift
cargo build --release
sudo cp target/release/drift /usr/local/bin/
Or install directly with cargo:
cargo install --path .
This installs drift to ~/.cargo/bin/, which is on your $PATH if you installed Rust via rustup.
Star History
License
Drift is FOSS, released under the GNU General Public License version 3 or later.