Skip to content

kylewelsby/now-playing-widget

Repository files navigation

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

🛠 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.

🎓 License

MIT: https://kylewelsby.mit-license.org