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.
URL param | description |
---|---|
user |
lastfm username |
theme |
theme mode |
apiKey |
lastfm api key |
https://now-playing-2e8d3.web.app?user=halfcube&theme=ticker&apiKey=xxx
This project requires Node.js to build and run.
At time of writing the latest stable version is Node.js 14.9.0
Within the working directory of this project after checking it out to your local computer.
Run the following commands.
npm install
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.