Music

What I listen to on Spotify:

Set up required

To show your top artists, add these environment variables (locally in .env.local, and in Vercel Project Settings):

  • LASTFM_API_KEY — from Last.fm API account
  • LASTFM_USERNAME — your Last.fm username
  • Optional: SPOTIFY_PROFILE_URL — your public Spotify profile URL

Also connect Spotify → Last.fm so new listening shows up in these lists.

Top 5 artists (this year)

Configure Last.fm to populate this list.

Top 5 artists (all time)

Configure Last.fm to populate this list.

Want the full Spotify “top artists” experience without a third party? That requires Spotify OAuth tokens and a backend — happy to do that as a follow-up. For a portfolio, Last.fm is usually the pragmatic path. Back home