Fuzzy Music is a university desktop music player project for Windows and Linux. The first release is intended to search public SoundCloud tracks and stream available audio without requiring users to obtain API keys manually.
The repository includes a Rust SoundCloud adapter, a typed application API, and a Tauri 2 + React/TypeScript shell for search and mpv playback. See desktop setup and verification.
Download Linux x86_64 AppImage or open the 0.2.1 release for Windows and checksums.
For Linux x86_64, download Fuzzy-Music-0.2.1-linux-x86_64.AppImage, make it
executable and open it. The app offers a verified yt-dlp download on first
launch; missing mpv and optional ffmpeg can be installed after selecting the
system-package consent checkbox and approving the desktop administrator prompt.
See 0.2.1 release notes and
Linux setup. Windows users should use the portable
0.2.1 ZIP and its included setup script. The source archives are not application
downloads. Neither platform binary is signed.
The first public release targets Windows x64 portable. Download the application
ZIP, not the corresponding-source ZIP, and run its included runtime setup script
once before opening the EXE. Alternatively, download the separate
Fuzzy-Music-0.1.0-windows-x64.exe and setup-windows-runtime.ps1 together.
The EXE is not an installer and still needs the tools and WebView2 runtime.
See release notes and limitations
and Windows setup. Linux x86_64 users can download
Fuzzy-Music-0.1.0-linux-x86_64.AppImage; it requires host-installed mpv and
an up-to-date yt-dlp, plus optional ffmpeg for FLAC. See
Linux AppImage setup. The published 0.1.0 AppImage
still uses host tools; the verified adjacent-tool setup is for the next
AppImage build. Neither platform binary is signed.
The player supports pause/resume, position/seek and volume through mpv JSON IPC. See
tasks/playback-controls.md for verification and
remaining limitations. Playlist playback supports previous/next and automatic
transitions. A separate session queue supports adding search results, selecting
and removing entries, Previous/Next and automatic advancement without repeat.
Removing the current entry stops playback and leaves the next choice to the user.
Queue persistence is outside the MVP. Favourite tracks and playlists, volume,
download quality and the music-folder setting are stored locally.
Liking a SoundCloud track queues one disk download, using the best available
source audio by default. Settings offer lower bitrate preferences and a folder
chooser. Download failures remain visible and can be retried. The application
indexes supported audio in that folder at startup and can play it offline.
Removing a favourite never deletes its downloaded file. A separate delete action
in Favourites and the Music library removes the library entry together with its
downloaded file and drops the track from any downloaded playlist. Download only
tracks you have permission to keep; available formats depend on the source.
FLAC conversion requires ffmpeg on PATH and cannot recover quality lost in
the source stream. Changing quality affects future downloads only.
A dark Spotify-style shell also adds public SoundCloud playlist search:
search playlists, open one and play its tracks through the same player. It uses
the SoundCloud web API with an auto-discovered client_id, because yt-dlp
cannot search playlists. See decision 0006 and
tasks/playlist-search.md. Playlists can be
bookmarked like tracks; a bookmark appears in Favourites and plays online until
the user explicitly downloads the whole playlist for offline use. See decision
0011. Artist names everywhere — track rows, playlist cards and headers, the
queue and the now-playing panel — open the artist's public page inside the app,
which uses a dedicated banner layout rather than the playlist header and
separates the catalog into Tracks, Albums and Playlists tabs with counts. Play
starts their list so the next track follows automatically, and the same list
behavior applies to search results, playlists, Favourites and the music library.
See decision 0012. Opening an album uses its own cover-first banner with a large
artwork, blurred backdrop, total duration and Play album action, while regular
playlists keep the compact header. See decision 0014. Settings also accept a
personal background image with a live opacity slider; the file is copied into
the app data directory and served through a narrowly scoped asset protocol.
While a background is set, the sidebar and player bar turn into frosted glass so
the artwork shows through the shell, and GIF images animate. See decision 0015.
Any SoundCloud track can start a radio: the seed plays immediately, related
tracks are appended automatically, and the queue keeps extending as playback
approaches its end. See decision 0017.
Integration checks and
accepted review follow-ups
are recorded in tasks/pr20-pr23-integration.md.
Session queue behavior and #22 acceptance are recorded in
tasks/playback-queue-22.md.
- Search by track title and author.
- Show title, author, cover art, and duration.
- Play, pause, seek, and control volume.
- Manage a playback queue and switch tracks.
- Store favourite tracks and playlists, and application settings.
User-created playlists and history are post-MVP work. Dark and light themes are available in settings.
The application is a local desktop app with no application server in the first release:
| Technology | Responsibility | Status |
|---|---|---|
| Rust | Source integration, request control, typed application API | Implemented |
| yt-dlp | SoundCloud search, metadata, and stream discovery | Used by prototype |
| Cargo, rustfmt, Clippy | Build, tests, formatting, and linting | Available |
| Git and GitHub | Version control and Pull Request review | In use |
| Tauri 2 | Typed commands between interface and Rust | Search, playlists and playback controls implemented |
| React, TypeScript, CSS | Search and minimal playback interface | Implemented |
| mpv | Audio playback | Play/Stop, pause, seek, volume and playlist transitions implemented |
| SQLite | Local favourites, library index and settings | Implemented |
SoundCloud-specific code is isolated in crates/soundcloud. The planned
frontend/Rust boundary uses explicit, source-agnostic contracts in
docs/architecture/contracts.md; prototype
types are not that boundary. crates/application implements typed search/resolve
DTOs and safe errors without Tauri. src-tauri dispatches source calls to blocking
workers and owns cancellation and mpv. See the contracts and
crates/application/examples/search.rs for the runtime-independent API.
Team responsibilities are recorded in
docs/team.md.
crates/soundcloud: source adapter, extractor process control, and probe CLI.crates/application: serializable search/resolve DTOs, safe errors, offline boundary tests, and a blocking-worker example.src-tauri: Tauri commands, request control, and owned mpv playback.src: minimal React + TypeScript interface and frontend tests.tests: browser smoke tests with fixture IPC.scripts: shared agent context checks and Windows extractor setup/probes.docs/architectureanddocs/decisions: contracts and durable decisions.docs/project-context.md,docs/ai-log.md, andtasks: current state and contributor handoffs..github: issue/PR templates and Windows build/release workflow.
Keep Tauri commands above crates/application; the frontend must use
the documented DTOs. Settings, favourites and the local library use persistent
storage; see the contracts for the current playback API.
Откройте терминал в папке репозитория Fuzzy Music. Для запуска из исходного
кода нужны Node.js с npm, Rust/Cargo, а также mpv и yt-dlp. В Linux
понадобятся системные библиотеки Tauri; список пакетов для Linux и Windows
приведён в инструкции по настройке.
При первом запуске установите зависимости проекта:
npm ciЗатем запустите настольное приложение:
npm run tauri -- devПервый запуск может занять несколько минут из-за сборки Rust. Оставьте терминал
открытым, пока пользуетесь приложением; для остановки закройте окно или нажмите
Ctrl+C в терминале. Команда npm run dev отдельно запускает только интерфейс
в браузере, без настоящего поиска и воспроизведения.
На Linux с Hyprland, если окно не отображается или возникают ошибки WebKit, попробуйте запуск с локальным параметром:
WEBKIT_DISABLE_DMABUF_RENDERER=1 npm run tauri -- devЧтобы запускать приложение без сервера разработки, соберите debug-версию:
npm run tauri -- build --debug --no-bundleПосле сборки откройте её из папки репозитория:
./target/debug/fuzzy-shellНа Windows в PowerShell используйте .\target\debug\fuzzy-shell.exe. Для
Linux с указанной выше проблемой WebKit перед командой запуска можно добавить
WEBKIT_DISABLE_DMABUF_RENDERER=1. Это сборка для тестирования, а не готовый
установщик: mpv и yt-dlp должны быть доступны отдельно.
После изменения исходного кода повторите команду сборки и перезапустите окно: уже запущенный экземпляр не обновится автоматически. Например, чтобы проверить исправление громкости, закройте старое окно и запустите новую сборку.
Если SoundCloud недоступен напрямую, Linux-приложение наследует настройки
прокси из окружения при запуске. При необходимости настройте HTTP_PROXY и
HTTPS_PROXY на свой работающий прокси в том же терминале; после изменения
настроек перезапустите приложение. Адреса и учётные данные не добавляйте в
репозиторий.
For the portable release and first-run runtime setup, see Windows setup. The player includes playlist playback, controls and a local library; clean-machine verification remains unfinished. Choose the portable artifact for the small user download; matching GPL application and vendored dependency sources are a separate corresponding-source artifact on the same build, with checksums and Git/executable provenance.
Install Git, Rust stable, and Microsoft C++ Build Tools with Windows SDK. From the repository root:
.\scripts\check-soundcloud.ps1 -Query 'lofi hip hop' -Limit 3
.\scripts\check-soundcloud.ps1 -Mode resolve -Query 'https://soundcloud.com/hephestosmusic/super-mario-world-game-over'The script downloads pinned yt-dlp into tools and verifies its SHA-256.
Internet access is required; a SoundCloud account, cookies, and a manual API
key are not required for public tracks. Search returns JSON metadata; resolve
returns a temporary stream URL without playing or downloading the full track.
Availability and result order can change.
Requests have a 45-second timeout by default. To exercise timeout or cancellation:
.\scripts\check-soundcloud.ps1 -Query 'lofi hip hop' -TimeoutSeconds 1
.\scripts\check-soundcloud.ps1 -Query 'lofi hip hop' -CancelAfterSeconds 0.25An unfinished request exits with timed out or cancelled and code 1;
requests that finish earlier may succeed. Cancellation stops the extractor
process group. Initial compilation and tool download are outside the timeout.
See docs/soundcloud-development.md for
full usage and Linux instructions.
- Read
AGENTS.mdanddocs/project-context.md. - Create one branch per task.
- Keep changes focused and record meaningful decisions in
docs/decisions/. - Run the checks listed in the relevant task context.
- Add a concise handoff entry to
docs/ai-log.md. - Open a Pull Request and request review from a second contributor.
cargo test --workspace --all-targets --locked
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo fmt --all --check
bash scripts/test-ai-context.sh
bash -n scripts/ai-context.sh scripts/test-ai-context.sh
Normal tests run without SoundCloud access. The source/API checks previously passed on Windows and Linux; the shell, frontend and live playback checks passed locally on Linux with the environment limits documented in shell development. These are not CI results; Windows shell validation also passed for the network-policy follow-up: search, fresh resolve, Playing, proxy connection and Stop were observed. The user confirmed working search; audible playback was confirmed on an earlier build, not reverified by listening on this build. See Windows network policy for startup refresh and PAC/bypass limitations. These changes have not been retested on Linux; non-Windows routing uses inherited proxy settings or normal routing.
For the desktop shell:
npm ci
npm run tauri -- dev
npm test
npm run test:ui
npm run build
This project is licensed under the GNU General Public License version 3. See
LICENSE.