Shows the music you are currently scrobbling.
- Create a Last.fm app and grab the public API Key.
- Load the
music.snitch.js
file in your HTML page. - Add a custom element in your HTML where you want the snitch to appear:
<music-snitch username="LASTFM_USERNAME" key="PUBLIC_API_KEY"></music-snitch>
Have a look at the index.html
included in this repository to learn how to customize the style.