This is a set of widgets that can be easily embedded in websites. These widgets update in real-time, and are dynamically generated.
https://lfm.tkkr.dev/nowplaying
username
(required) - string
The last.fm user you would like to generate a widget for.size
(optional) - number
The height of the widget. The aspect ratio for this widget is 5:1.
The aspect ratio cannot be changed. Defaults to80
.show_username
(optional) - boolean
Whether to show the user's username at the bottom right. Defaults totrue
.show_logo
(optional) - boolean
Whether to show the last.fm logo on the top right. Defaults totrue
.transparent
(optional) - boolean
Whether the widget should have a transparent background. Defaults tofalse
.light
(optional) - boolean
Whether the widget should have a light theme. Defaults tofalse
.dynamic
(optional) - boolean
Whether the widget should have a dynamic background from the colour palette of the album art.
Cannot be used withlight
. Defaults tofalse
.