Github README Tidal Integration Show off your most listened to music on your GitHub profile!
You MUST set your environmental variables to authenticate with Tidal for this to work.
- Run
python init_auth.py
and copy the printed link into a browser to authenticate with your Tidal account. - Save the tokens into a
.env
file or your repository secrets on GitHub to use with GitHub Actions. - Run
python app.py
using the GitHub Actions workflow or locally to render the README template.
Make sure you do not commit the tokens to your repository. The GitHub Action workflow is configured to run on a push event or on the first of every month. Don't forget to change your repository settings to allow Workflows read and write permissions! Found under Actions → General in repository settings on GitHub.
Customize template.md
to your heart's content and dig into python-tidal to pull some playlists of your own!
Get these using init_auth.py
:
- TOKEN_TYPE
- ACCESS_TOKEN
- REFRESH_TOKEN
- EXPIRY_TIME
Track | Artist |
---|---|
Thinking About You | Faye Webster |
Angelica | Wet Leg |
Add Up My Love | Clairo |
Hot Rod | Dayglow |
Expert In A Dying Field | The Beths |
Track | Artist |
---|---|
Sarah | Alex G |
Impossible Germany | Wilco |
Write A List of Things To Look Forward To | Courtney Barnett |
After The Earthquake | Alvvays |
Watching Strangers Smile | Parquet Courts |