Back to projects

Sonar

A fancy music recommendation engine!

Rust · TypeScript · linfa

Sonar screenshot

About the project

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.

Year

2026

Sonar screenshot 2
Sonar screenshot 3
Sonar screenshot 4
Sonar screenshot 5