Show your Spotify playing on your Github profile
Create Spotify now playing card on your github profile
Running on Vercel serverless function, store data in Firebase (store only access_token, refresh_token, token_expired_timestamp)
Table of Contents
Connect And Grant Permission
Example
Running for development locally
Setting up Vercel
Setting up Firebase
Setting up Spotify dev
Running locally
How to Contribute
Known Bugs
Features in Progress
Credit
Connect with Spotify
button below to grant permissionTo develop locally, you need:
http://localhost:3000/api/callback
npm i -g vercel
.env
file at the root of the project and paste your keys in SPOTIFY_CLIENT_ID
, SPOTIFY_SECRET_ID
, and FIREBASE
BASE_URL='http://localhost:3000/api'
SPOTIFY_CLIENT_ID='____'
SPOTIFY_SECRET_ID='____'
FIREBASE='__BASE64_FIREBASE_JSON_FILE__'
vercel dev
$ vercel dev
Vercel CLI 20.1.2 dev (beta) — https://vercel.com/feedback
> Ready! Available at http://localhost:3000
404/500 Error when playing local files
Cross-platform support (Pandora, Apple Music, etc.)
Inspired by https://github.com/natemoo-re