Dynamically update your Github profile status with you Spotify currently playing item.
Build and deploy using your own Spotify and Github credentials.
- npm
- Firebase Project
- Spotify Web API Refresh Token
- Github API Key
- Install Dependencies
$ cd ./functions $ npm install
- Update
.firebaserc
with your firebase project id
- Spotify Refresh Token
$ firebase functions:config:set spotify.refresh_token=<SPOTIFY_REFRESH_TOKEN>
- Spotify Combined Credentials Base64 Encoded
$ firebase functions:config:set spotify.base64_creds=<BASE64(SPOTIFY_CLIENT_ID:SPOTIFY_CLIENT_SECRET)>
- Github API key
$ firebase functions:config:set github.user_access_token=<GITHUB_API_KEY>
- Deploy to firebase
$ firebase deploy