Last.fm

pending

by Gorka Gomez

Fetch recent scrobbles, top tracks, artists, and albums from Last.fm.

β˜… 2 starsUpdated 4mo agoMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

Last.fm Integration for Obsidian

Fetch data and create notes from your Last.fm listening history directly inside Obsidian.

This plugin lets you fetch:

Recent scrobbles
Top tracks, artists, and albums (for any Last.fm period)
Weekly charts (from β†’ to weekly ranges via Last.fm’s API)
Album artwork (available for recent scrobbles and top albums)
Automatically generate Markdown notes into your chosen folder


πŸ“Έ Preview


✨ Features

  • Recent scrobbles
    • Most recent tracks you scrobbled (includes artwork of each track's album)
    • Select the number of tracks you want to pull from Last.fm (5, 10, 20, 50, 100)
  • Top Tracks / Artists / Albums
    • Period-based (7day, 1month, 3month, 6month, 12month, overall)
    • Set a custom limit for how many results to fetch
  • Weekly charts
    • Real chart-based weekly ranges from Last.fm (up to 20 years back !)
  • Automatic note creation
    • Create notes to persist data in your vault
    • Choose a folder in which notes will be created
  • Album art included when available (recent plays & top albums only)
  • Clean UI modal with tabs
  • Ribbon icon for quick access
  • Fully local β€” only Last.fm API requests are made

πŸ”§ Setup

  1. Get a Last.fm API key
    https://www.last.fm/api/account/create

  2. In Obsidian:

    • Open Settings β†’ Community Plugins
    • Enable Third-party plugins
    • Install this plugin manually (see below)
    • Enter your API key, username, and output folder

πŸ“¦ Manual Installation

  1. Clone this repo

  2. Make sure your NodeJS is at least v16 (node --version)

  3. npm i to install dependencies

  4. npm run build to compile the code

  5. Copy main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/obsidian-lastfm-plugin/

  6. Reload Obsidian and enable the plugin.


🧾 License

MIT


πŸ™ Credits

Built by Gorka GΓ³mez
Uses the Last.fm public API.


⭐ Support

If you enjoy this plugin, consider starring the repo on GitHub!

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.