Your Spotify Alter Ego
Spotify Alter Ego is a creative web app that turns your Spotify listening habits into playful and somewhat satirical characters.
By analyzing your favorite songs, it generates a custom Pixar-style portrait along with a satirical description and username, AKA your musical “alter ego.”
Technical Overview
Spotify Alter Ego is a locally run, full-stack generative AI app that creates satirical Pixar(ish)-style characters based on your Spotify listening habits.
Spotify: Uses the Spotify API to access user data (you’ll need your own secrets to run it).
Backend: Flask with Spotipy handles OAuth and grabs top/recent tracks.
Frontend: Tailwind CSS + vanilla JavaScript for a clean, responsive UI.
AI Generation:
LLaMA 3 (via Ollama) generates the character bio.
Stable Diffusion (DreamShaper) creates the avatar, running locally with PyTorch.
Username Engine: A custom script creates funny, genre-based usernames from the bio (sometimes a gentle roast).
Privacy & Ethics: No personal data is stored. Everything’s fictional, lighthearted, and meant to be fun.