https://github.com/kylewelsby/now-playing-widget
Display Last.fm current playing track on a web-page or OBS Studio
https://github.com/kylewelsby/now-playing-widget
lastfm lastfm-api obs obs-studio spotify widget
Last synced: 4 months ago
JSON representation
Display Last.fm current playing track on a web-page or OBS Studio
- Host: GitHub
- URL: https://github.com/kylewelsby/now-playing-widget
- Owner: kylewelsby
- License: mit
- Created: 2020-10-16T20:57:15.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T15:56:21.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T15:20:33.766Z (9 months ago)
- Topics: lastfm, lastfm-api, obs, obs-studio, spotify, widget
- Language: Vue
- Homepage: https://now-playing-2e8d3.web.app/?user=halfcube&theme=ticker
- Size: 26.4 KB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://now-playing-2e8d3.web.app?user=halfcube&theme=stacked)
* 👉 [ticker (marquee)](https://now-playing-2e8d3.web.app?user=halfcube&theme=ticker)## 🛠 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.
```bash
npm install
```## 🎯 Usage
Start a local development server with the following command
```bash
npm run dev
```To deploy the resulting code to a Web Server, the code must be compiled before deployment.
```bash
npm run build
```The resulting code in `./dist` can be uploaded to your Web Server of choice.
## 🎓 License
MIT: https://kylewelsby.mit-license.org