All your music. One terminal.

ddsonic plays Spotify, YouTube Music, local files and internet radio in one fast, keyboard-driven player. Search them all at once, browse each on its own, or see the albums and artists of Spotify, YouTube Music and Local side by side in All Music.

Linux · Open source · Built in Go

ddsonic in a terminal, playing a track from a local album, Ravel's Daphnis et Chloé by the Chicago Symphony Orchestra: the spectrum visualizer and the equalizer across the top, the album artwork below them, and the track's title, artist, album, genre, year, track number and file path beside it.

Browse each source, or all of them side by side.

Each source has its own entry with its own views. All Music lists the albums and artists of Spotify, YouTube Music and Local side by side in one list, each row labelled with its source, and a row opens that source's own album or artist.

All Music has albums and artists only, and it merges nothing: the same album in two sources stays two rows, next to each other. Playlists, liked songs, genres, folders and stations stay in each source's own entry.

YouTube Music albums and artists are the ones found in your Liked Music and synced playlists, and albums may be incomplete. Saved YouTube Music Library Albums and followed artists are not synchronized.

All Music
Albums · Artists: Spotify, YouTube Music and Local rows side by side, each labelled with its source
Spotify
Albums · Artists · Playlists · Liked Songs
YouTube Music
Albums from tracks · Artists from tracks · Playlists · Liked Music
Local
Albums · Artists · Genres · Folders · Playlists
Radio
Favorites · Browse Stations
All Music · Albums Illustration
  • Blue TrainJohn ColtraneYouTube · from tracks
  • Daphnis et ChloéChicago Symphony OrchestraLocal
  • Kind of BlueMiles DavisLocal
  • Kind of BlueMiles DavisSpotify
  • The Köln ConcertKeith JarrettSpotify

Fast because your library is local.

ddsonic keeps your libraries in a local catalog and syncs it in the background, so lists open at once and browsing and search work without a network. At startup, Spotify and YouTube Music sync again if their last sync is older than two hours (by default), local music reads only the files that changed, and r syncs the source you are browsing.

How the catalog works (opens in a new tab)

Keyboard all the way.

Vim-style movement, consistent navigation keys, and a bar at the bottom that lists exactly the keys that work where you are.

jk
Move down, up
lEnter
Open, or play
hEsc
Back (never quits)
/
Search
Space
Play or pause
pn
Previous, next track
Tab
Library or queue
q
Quit, from any screen

Every key (opens in a new tab)

A real player underneath.

Gapless playback, a 10-band equalizer with presets, spectrum visualizers, themes, lyrics, playback speed, shuffle and repeat, all inherited from cliamp, and a queue you can reorder. Album artwork appears beside a track's details in Kitty and Ghostty.

Media keys and desktop widgets work through MPRIS, and ddsonic pause, ddsonic next and ddsonic status control the running player from a script or a keybinding.

Screenshots

A 48-second tour, without sound: browsing local music, search, album artwork, the Stereo visualizer and internet radio.

Watch larger
What the video shows
  1. The title card: ddsonic, “All your music. One terminal.”
  2. A track from the local library playing, with the queue below the Stereo visualizer.
  3. All Music listing the local albums, then the artists.
  4. Typing “daphnis” into search, which finds a local album and its tracks.
  5. An album opened and played; Track Info shows its cover beside the track details; then the queue again.
  6. Radio: the public station directory, the jazz stations, and one station streaming with the Stereo visualizer.
  7. The closing card: ddsonic, “All your music. One terminal.”, ddsonic.app.

Install

ddsonic has a release build for Linux x86-64 (glibc 2.36 or newer; it needs only ALSA and glibc from your system). Paste this whole block into sh, bash or zsh. It downloads the latest release (opens in a new tab) into a new temporary folder, checks that the download is intact, and installs ddsonic for your user, without sudo. It stops at the first step that fails, before installing anything:

(
  set -eu
  D=$(mktemp -d)
  cd "$D"
  R=https://github.com/DaphnisDuck/ddsonic/releases/latest/download
  curl -fLO "$R/SHA256SUMS"
  A=$(grep -oE 'ddsonic-[0-9]+\.[0-9]+\.[0-9]+-linux-amd64\.tar\.gz' SHA256SUMS || true)
  [ "$(printf '%s\n' "$A" | grep -c .)" -eq 1 ] || { echo 'SHA256SUMS: expected one Linux x86-64 archive' >&2; exit 1; }
  curl -fLO "$R/$A"
  awk -v a="$A" '$2 == a' SHA256SUMS | sha256sum -c -
  tar -xzf "$A"
  install -Dm755 "${A%.tar.gz}/ddsonic" ~/.local/bin/ddsonic
  ~/.local/bin/ddsonic --version
)

The archive's name includes the version, so the commands read it from SHA256SUMS. The checksum confirms that the download is complete and matches the release's checksum list; it is an integrity check, not a signature, and does not prove who published the files.

Or download the ddsonic-<version>-linux-amd64.tar.gz archive and SHA256SUMS from the latest release page (opens in a new tab) into an empty folder, and run there:

sha256sum -c --ignore-missing SHA256SUMS
tar -xzf ddsonic-*-linux-amd64.tar.gz
install -Dm755 ddsonic-*-linux-amd64/ddsonic ~/.local/bin/ddsonic

ddsonic setup sets up Spotify, YouTube Music and your music folder, each optional, and ddsonic opens the library. To update, install a newer release the same way; ddsonic does not update itself.

Building from source needs Go 1.26.6 or later, a C compiler, pkg-config and the ALSA and codec headers, then make install. An AUR package, ddsonic-bin, is planned; it is not in the AUR yet.

Full instructions (opens in a new tab), including the application-menu entry and the build from source · All releases (opens in a new tab)

What each source needs

Spotify
A Spotify Premium account.
YouTube Music
yt-dlp, and a browser you are signed in to or your own Google OAuth client.
Local music
Nothing; ffmpeg for AAC, ALAC, Opus and WMA files.
Internet radio
Nothing.
Sound
ALSA. On PipeWire or PulseAudio, install pipewire-alsa or pulseaudio-alsa.
Artwork
Kitty or Ghostty; everywhere else ddsonic works the same without it.

Local music and radio need no account at all. YouTube Music setup (opens in a new tab)

Technical details

Written in Go on Bubble Tea, Lip Gloss and Beep, with Spotify through go-librespot and the catalog in SQLite. Sound goes through ALSA. Settings live in ~/.config/ddsonic/config.toml, which ddsonic setup writes.

ddsonic keeps its own config, data and media-key name, so it can be installed beside cliamp.

Releases

ddsonic is maintained by one person; bug reports are welcome in Issues (opens in a new tab).