This is a simple python script to generate you fancy hitster cards from any spotify playlist! The generated spotify codes can be easily scanned from your phone.
Heavily inspired & adopted from this project: https://github.com/fjlein/hitster - please check them out!
Will generate a pre-aligned PDF for you to simply double side print. The back side is already flipped so you can just press "print".

We are using uv to manage python packages and versions.
- Install
uvhowever you prefer - Clone this repo ->
git clone https://github.com/Kigstn/hitster-card-generator - Install packages ->
uv sync - Copy the
.env.example->.env& fill out the values - To get your spotify auth information & create a spotify app (needed for API access), please consult this guide
- Run script ->
uv run src/hitster_card_generator/main.py - Your outputs will be in the
outputfolder
Tbh, customisation wasn't a big focus when making this project. So you may need to dig into the script to change stuff you want.
What you can do somewhat easily:
- Change background: Just replace the
background.pngwith a file of your choosing. Make sure it is 800x800px - Change the title: Overwrite the env var
CARD_TITLE
Note: No AI was used in the making of this :)