a small open workflow for organizing your favorite lyrics and songs.
I find a piece of lyric that is beautiful, I share it using the Share Spotify Lyrics feature. To enhance this whole experience and have an organized collection of all the lyrics I love, this is a workflow that comes handy!
All you need is a Spotify Developer Key, and a WhatsApp group where you will be sharing your lyric card. Whenever the time is for exporting, click on the 3 dots-more-export chat-include media.
WhatsApp's chat export (.txt) gets parsed line by line, stitching multi-line messages back together so an image and the link sent right after it are recognised as one entry.

A start date, an end date, or just "up to today". Anything sent outside the window can be cleared out once you're happy with what's been kept.

Each track link is looked up through Spotify's API for its title, artist, album and genre. Genre actually lives on the artist, not the track, so that's fetched separately and can be corrected by hand before anything gets filed.

Each song becomes its own note inside a genre folder, with the lyric screenshot embedded alongside it. Artist, album and genre all get their own notes too, so nothing sits alone.

The same structure is written out as plain JSON, one file per genre, artist and album, in case a browser-based version of this ever gets built.

Because each note links to its artist, album and genre by name, opening the result as an Obsidian vault turns it into a small constellation, songs by the same artist or from the same album drift toward each other on their own.
The same relationships are written into songs.json too, so anything built on top later doesn't have to re-figure out which songs belong together.
Runs entirely on your own machine, keys and paths stay in a local .env file, nothing about your chat leaves it except the track lookups to Spotify.
get the code