A fancy music recommendation engine!
Rust · TypeScript · linfa

I created Sonar to discover how music profiles and recommendations work. It lets you connect to your Spotify account and pick playlists to train on.
The recommendation logic runs in Rust using linfa, applying k-means clustering to audio features extracted from your tracks to identify preference profiles. The result is a set of recommendations, with near-zero CPU and memory overhead.
It also has an embedded music player and some other cool features.
2026



