https://github.com/lrmn7/widget-spotify-obs
A widget that shows what is currently playing on your spotify. It was built to be used with OBS Studio or Streamlabs OBS (or another broadcast application that accepts url sources). This way, whoever is watching your live, knows what music is playing.
https://github.com/lrmn7/widget-spotify-obs
obs spotify spotify-obs widget-spotify-obs
Last synced: about 1 month ago
JSON representation
A widget that shows what is currently playing on your spotify. It was built to be used with OBS Studio or Streamlabs OBS (or another broadcast application that accepts url sources). This way, whoever is watching your live, knows what music is playing.
- Host: GitHub
- URL: https://github.com/lrmn7/widget-spotify-obs
- Owner: lrmn7
- Created: 2023-07-13T09:41:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-13T11:19:41.000Z (about 3 years ago)
- Last Synced: 2024-05-01T22:38:05.085Z (about 2 years ago)
- Topics: obs, spotify, spotify-obs, widget-spotify-obs
- Language: JavaScript
- Homepage: https://spotify-obs.vercel.app/
- Size: 907 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify Current Song Widget
[http://widget-spotify.vercel.app/](http://widget-spotify.vercel.app/)
A widget that shows what is currently playing on your spotify. It was built to be used with OBS Studio or Streamlabs OBS (or another broadcast application that accepts url sources). This way, whoever is watching your live, knows what music is playing.
## Development
### Requisites
- NodeJS
- An spotify app
- mongodb database
First, you should have a spotify app. You can create one [here](https://developer.spotify.com/dashboard/).
Second, you should have a mongodb database. I'm recommend you use [MongoDB Atlas](https://cloud.mongodb.com/).
After this, fill all enviroment variables in the `.env`
```
DB_CONNECTION_STRING=your-mongodb-connection-string-with-user-and-pass
ClientID=your-spotify-ClientID
ClientSecret=your-spotify-ClientSecret
BASE_URL=http://your-base-url/
```
Then, run the command below in your terminal
```bash
yarn dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## TODO
- Tests
## Contributions
PR's are welcome!