Skip to content

🚀 Dynamic, customizable, and real-time Spotify now-playing widget that seamlessly integrates with your website or GitHub markdown files

Notifications You must be signed in to change notification settings

panntod/Spotify-Readme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify logo

Spotify Currently Playing Track

Dynamically generate Spotify currently playing tracks for your github readme or everywhere.

Overview

Listen to Spotify

How to use

1. Go to Spotify Dashboard create an app.

  1. Go edit settings and add Redirect URIs. i.e. White-listed addresses to redirect to after authentication success OR failure. For example development is http://localhost:3000, production is https://panntod-spotify-readme.vercel.app/api.

  2. Rename .env.example to .env file. Copy Redirect URIs, Client ID, Client Secret and paste into YOUR_REDIRECT_URI ,YOUR_CLIENT_ID and YOUR_CLIENT_SECRET field.

2. Installation

npm install

3. Get Authorize URL

npm run get-authorize-url

Paste the entire link into your browser and copy the url query string named "code".

4. Get Refresh Token

npm run get-refresh-token <code>

Copy and paste it into the YOUR_REFRESH_TOKEN field.

5. Run start

npm run start

About

🚀 Dynamic, customizable, and real-time Spotify now-playing widget that seamlessly integrates with your website or GitHub markdown files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages