Skip to content

A simple widget that shows the song you are listening to, you can use it for OBS. Has integration with Last.fm

License

Notifications You must be signed in to change notification settings

IkarosKurtz/OBS-music-widget

Repository files navigation

OBS music widget with Last.fm integration 🎵

This widget is a simple OBS widget that displays the current song playing in your OBS scene. It uses the Last.fm API to get the current song playing on your Spotify account.

This is how it looks like (in OBS the widget is transparent):

OBS music widget

How to use it ⚙

  1. Clone the repository
  2. Run npm install (or in my case bun install)
  3. Create a .env file in the root of the project with the following content:
VITE_LAST_FM_API_KEY=your_lastfm_api_key
VITE_LAST_FM_USERNAME=your_lastfm_username

VITE variables are used to expose the variables to the client side.

You can create your account here. You can get your Last.fm API key here.

  1. Run npm run dev (or in my case bun run dev) or deploy the project to Vercel or Netlify.

  2. Add the URL of the deployed project to OBS as a browser source.

  3. Enjoy! 📻 🎶

About

A simple widget that shows the song you are listening to, you can use it for OBS. Has integration with Last.fm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published