This is a Python script that allows you to automatically update your Github profile README with your latest Spotify activity. The program uses the Spotipy library to access your Spotify data, and then generates a new README file with the current song you’re listening to, your top artists, and your top tracks and it will then be committed and pushed to your Github profile, allowing anyone who visits your profile to see your latest musical interests.
To use this program, you’ll need to follow a few steps:
'pip install -r requirements.txt'
in your terminal.Create a Spotify Developer account and create a new app. You’ll need to set the redirect URI to http://localhost:8080 |
http://localhost:5000 or any . |
https://github.com/settings/tokens
.example.config.py
to config.py
and fill in the appropriate values for its contents. You’ll also need to add your display username.'python app.py'
in your terminal. This will update your README.md fileThat’s it! Your Github profile will now display your latest musical interests.
Contributions to this project are welcome. Please follow the existing code style and conventions for new features or bug fixes, thank you!