wavesync
wavesync copied to clipboard
A Spotify visualizer built with spotify-viz and Vue.
wavesync
A Spotify visualizer built with spotify-viz and Vue.
Run Locally
- Create a new Spotify app in your Spotify Developer Dashboard.
- Add
http://localhost:8001/callbackto your app's Redirect URIs. Note your app'sClient IDandClient Secret. - Create a file named
.envin the project's root directory with the following values:
CLIENT_ID=YOUR_CLIENT_ID_HERE
CLIENT_SECRET=YOUR_CLIENT_SECRET_HERE
REDIRECT_URI=http://localhost:8001/callback
PROJECT_ROOT=http://localhost:8001
NODE_ENV=development
- Install using NPM.
npm i
- Serve project.
npm run serve
- Visit
http://localhost:8080and log in with your Spotify account. - Play a song in your Spotify client of choice. The visualizer will take a moment to sync before initializing.
Build & Serve (Production)
- Follow steps
1through4above. - In your
.envfile, setNODE_ENVtoproduction. - Start project using NPM.
npm run start