Skip to content

🎵 Display your current playing track for your stream!

License

Notifications You must be signed in to change notification settings

alfg/now-playing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Now Playing

Now Playing

Display your current playing track for your stream!

https://now-playing.streamcat.tv

Develop

Now Playing is developed with NodeJS/Express for the backend & Vue.js for the frontend client.

Requires the following for development:

  • NodeJS 6+

  • Redis

  • Clone the project and install dependencies:

git clone https://github.com/alfg/now-playing
npm install && cd static && npm install
SPOTIFY_CLIENT_ID=
SPOTIFY_SECRET=
SPOTIFY_REDIRECT_URI=
REDIS_HOST=localhost
REDIS_PORT=637

Or create a .env file with the credentials above.

Run the NodeJS server and static frontend in separate processes:

node app.js
cd static && npm run serve

You should now have 2 separate processes running.

Load http://localhost:4000/ into your browser.

Docker

docker-compose build
docker-compose up

Load in browser: http://localhost:4000

License

MIT