Public · macOS · Android

Music Fetch

Identify songs playing nearby, inside your device, hummed out loud, or inside long YouTube mixes — backed by one shared Rust core on macOS and Android.

GitHub ↗
  • rust
  • swiftui
  • kotlin
  • uniffi
Shared Rust core
Input Mic or system / app audio
Rust Core (UniFFI) Shazam-compatible audio fingerprinting on device
Result (macOS / Android) Short fingerprint only → track match + links to all streaming apps
shared Rust core via UniFFI
1
input paths (listen, hum, link, mix)
4
accounts or tracking
0
  • Captures microphone or internal device audio directly (System Audio Recording on macOS, app audio + Quick Settings tiles on Android).
  • Hum, whistle, or sing mode pitch-tracks locally against an opt-in ~50 MB melody library and transcribes sung lyrics on device.
  • Resolves streaming links from metadata, extracts video audio via embedded yt-dlp, and segments hour-long DJ sets into timestamped tracklists.
  • Only compact audio fingerprints leave the device; optional AudD/ACRCloud keys stay in macOS Keychain or Android Keystore.

One Rust core, two native apps

Started as a Python CLI prototype and rebuilt into native macOS (SwiftUI) and Android (Kotlin) apps sharing a single Rust workspace via UniFFI. Audio capture processing, fingerprinting, DJ mix segmentation, and link resolution all live in Rust so both platforms behave identically behind native UIs.

Local-first recognition

Audio is never uploaded whole: processing stays on device and only short Shazam-compatible fingerprints go out for matching, enriched with artwork, lyrics, and cross-service links (Spotify, Apple Music, YouTube Music, Tidal, Deezer, SoundCloud) from public catalogs. For long mixes, existing description/comment tracklists are verified locally against segmented audio windows so an hour-long set needs only a handful of lookups.