
aScrobble - A desktop client to scrobble Apple Music to last.fm
Hi, I spent a couple hours developing (*~~vibecoding~~*) a cloud-based Apple Music to Last.fm scrobbler that’s completely free.
I originally built this because everything else I tried kinda sucked:
- paid apps
- apps that force you to use their own music player
- or the official Last.fm app, which only scrobbles library tracks and makes you do it manually
So I made **aScrobble**.
It pulls your recently played tracks using the Apple Music WebKit API and automatically scrobbles them every 5 minutes. It runs on your own Cloudflare account (free tier is enough), so once it's set up, it just works in the background.
## Why it’s different
- Tracks *all* your listens (not just library songs)
- Runs 24/7 on Cloudflare (no server needed)
- No subscriptions or paid features
- Simple OAuth setup
- You control everything since it’s self-hosted
## Limitations (being transparent)
- Apple’s API doesn’t provide timestamps, so scrobble times are estimated
(it subtracts track duration from the polling interval, so expect a few minutes of drift)
- The recent tracks endpoint only returns a list, not play counts
→ if you loop the same non-library song multiple times in a row, only one play gets recorded
Let me know if you have any suggestions or questions below :)
## Repo / download