A Material 3 music downloader and quick player for almost any music service, written in Rust.
  • Rust 95.4%
  • Shell 3.7%
  • Nix 0.3%
  • Python 0.3%
  • Inno Setup 0.3%
Find a file

Audiphi

A Material 3 music downloader and quick player, written in Rust (egui). Paste a link from almost any music service (or type a song name) and Audiphi downloads it in the format and quality you pick, with proper tags, cover art and synced lyrics. This is the Rust port of the Python/PyQt6 version (audiphi-python); settings carry over (~/.config/audiphi/settings.json).

  • Any service. YouTube Music, YouTube, SoundCloud, Bandcamp, Mixcloud, Audiomack and the other ~1,800 sites yt-dlp supports download directly. Spotify, Apple Music, Deezer, Tidal, Amazon Music, Qobuz and other music pages are read for the song details and matched on YouTube Music (by ISRC when available).
  • Whole collections: songs, albums, playlists, and artists (top songs or whole discography).
  • Any format: MP3 (CBR or V0/V2/V4), M4A/AAC, Opus, OGG Vorbis, FLAC, ALAC, WAV, or the original stream.
  • Tags from Deezer, iTunes and MusicBrainz, per field; lyrics from LRCLIB (synced or plain); cover art; file name templates like {album_artist}/{album}/{track:02} - {title}.
  • Quick player (libmpv) with a spectrum ring around the cover, wavy seek bar and click-to-seek lyrics.
  • Colours from Caelestia's scheme, your desktop accent, the album art, or a colour you pick.

Requirements

yt-dlp, ffmpeg, mpv (libmpv) and, for YouTube, a JavaScript runtime (deno recommended).

sudo pacman -S yt-dlp ffmpeg mpv deno   # Arch
./install.sh                            # builds and installs to ~/.local

audiphi 'https://…' fetches the link straight away.

Spotify

Without keys Spotify's public page lists the first 100 songs of a playlist. With free app keys (https://developer.spotify.com/dashboard, pasted in Settings › Spotify) Audiphi uses the Web API. Since Spotify's February 2026 changes the API only shows playlists the app owner owns or collaborates on, has no artist top songs, and needs the owner to have Premium — whenever the API can't answer (or the keys are wrong) Audiphi falls back to the public page instead of failing.

Development

src/core is the engine (resolvers, matcher, metadata, lyrics, tagger, downloader); src/ui the widgets and pages; examples/probe.rs exercises the engine from the command line (cargo run --example probe -- resolve <link> / download <link> / meta <title> <artist>). Setting AUDIPHI_SHOTS=/dir (and AUDIPHI_SHOT_URL=<link>) makes the app walk its tabs and save screenshots.

Built on yt-dlp, ffmpeg, mpv, lofty and egui. Tags from Deezer, iTunes and MusicBrainz; lyrics from LRCLIB. Bundled fonts: Material Symbols (Apache 2.0) and Rubik (SIL OFL 1.1), licenses in assets/fonts/.

Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-24 17:58:16 -05:00
assets Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00
examples Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00
packaging Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00
src Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00
tools Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00
.gitignore Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00
Cargo.lock Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00
Cargo.toml Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00
install.sh Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00
README.md Audiphi in Rust: egui port of the Python app, Spotify API fix 2026-10-24 17:58:16 -05:00