Skip to content

Last.fm Widget

Shows your Last.fm listening history, top artists, and top tracks.

Requirements

Getting an API key

  1. Go to last.fm/api/account/create
  2. Fill in the application name (e.g. "Homepage") and description
  3. Copy the API key (not the shared secret)

Configuration

KeyTypeDefaultDescription
apiKeystringLast.fm API key
usernamestringLast.fm username
showStatsbooleantrueShow play count and listening stats
showTopArtistsbooleanfalseShow top artists section
showTopTracksbooleanfalseShow top tracks section
recentLimitnumber5Number of recent tracks to show
periodstring"7day"Period for top artists/tracks: "7day", "1month", "3month", "6month", "12month", "overall"

Personal Homepage Dashboard