Eric Spencer

projects


← back to index

Song Recommender

Song recommendations using the Gemini API.

repo: https://github.com/EricSpencer00/song-recommender


Song Recommender takes one song title and asks Gemini for ten more in the same vein, with the original left out of the list. The model is asked for structured JSON rather than prose. A responseSchema pins each result to a title and an artist, so the page renders cards without parsing free text.

It runs entirely in the browser against a user-supplied Gemini key. There is no server and nothing is stored. To try it, clone the repository and open index.html with GEMINI_API_KEY set.

GitHub Repo