Now Playing (Widget)
A now playing widget for OBS Studio or Webpage, using Last.fm API for current playing track.
Can work with Spotify when connected with your Last.fm account.
π Demos
- π stacked
- π ticker (marquee)
π Configurations
URL param | description |
---|---|
user |
lastfm username |
theme |
theme mode |
apiKey |
lastfm api key |
example
https://now-playing-2e8d3.web.app?user=halfcube&theme=ticker&apiKey=xxx
β‘οΈ System Dependencies
This project requires Node.js to build and run.
At time of writing the latest stable version is Node.js 14.9.0
π² Installation
Within the working directory of this project after checking it out to your local computer.
Run the following commands.
npm install
π― Usage
Start a local development server with the following command
npm run dev
To deploy the resulting code to a Web Server, the code must be compiled before deployment.
npm run build
The resulting code in ./dist
can be uploaded to your Web Server of choice.