# 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. ## Install a release Downloads are on the [Releases page](https://astar76.com/git/astar76/Audiphi/releases); check them against `SHA256SUMS-`. The Linux builds are made on Arch Linux and need a recent glibc (the version is named in the packages and checked by the installer), so they run on Arch and other up-to-date distributions; on older ones, build from source. - **Arch Linux:** `sudo pacman -U Audiphi--arch-x86_64.pkg.tar.zst` (package `audiphi-bin`; remove it with `sudo pacman -R audiphi-bin`). `packaging/arch/PKGBUILD` builds the same package from the release. - **Debian, Ubuntu and other apt systems:** `sudo apt install ./Audiphi--amd64.deb`. - **Nix:** `nix profile install git+https://astar76.com/git/astar76/Audiphi` (this repo is a flake), or `callPackage ./packaging/nix { }`. - **Any distribution:** unpack `Audiphi--Linux-x86_64.tar.gz` and run `sh install.sh` inside (your home, `~/.local`, no root) or `sh install.sh --system` (`/usr/local`). `sh uninstall.sh` removes it; `--purge` also deletes settings and data. `installer.sh` from this repo does the same next to a downloaded tar.gz or AppImage. - **AppImage:** `chmod +x Audiphi--x86_64.AppImage` and run it. libmpv is bundled in it. - **Windows (x64):** `Audiphi--Setup.exe` installs for your user only (no admin) with a Start menu entry and an uninstaller; `Audiphi--Windows-portable.zip` runs from any folder. Audiphi needs `yt-dlp` and `ffmpeg` on the system (the packages pull them in) and, for YouTube, a JavaScript runtime (`deno` recommended). On Windows, put `yt-dlp.exe` and `ffmpeg.exe` on `PATH` or next to `audiphi.exe`. ## Build from source You need Rust and `mpv` (libmpv) to build. ```bash sudo pacman -S yt-dlp ffmpeg mpv deno # Arch ./install.sh # builds and installs to ~/.local tools/package.sh # release files in dist/ (Linux and Windows) ``` `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 (, 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 ` / `download ` / `meta <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. Licence: MIT (`LICENSE`). Bundled fonts: Material Symbols (Apache 2.0) and Rubik (SIL OFL 1.1), licenses in `assets/fonts/`.