A brutally honest AI that judges your music taste based on your Last.fm listening history. Think you have good taste? Think again.
This is a web application that connects to your Last.fm account and delivers a personalized, snarky roast of your music preferences. Inspired by Pudding.cool's "Judge My Music" but with extra sass and AI-powered burns.
Unlike generic music recommendation engines that try to be nice, this app is designed to be your worst music critic - the kind that makes you question your life choices and wonder if you really do have terrible taste.
- Last.fm Authentication: Connect your Last.fm account to grant read-only access to your listening data
- Data Analysis: The app fetches your top artists, tracks, albums, recent plays, loved tracks, and listening patterns
- Interactive Roasting: A conversational AI asks you probing questions about your music habits
- The Verdict: Get a final, devastating assessment of your taste with a brutal 1-10 rating
- Full Last.fm Integration: Comprehensive data fetching including top artists/tracks/albums, recent plays, loved tracks, weekly charts, and user tags
- Interactive Conversation: Multi-step roasting process with different question types:
- Guilty Pleasure Detection: Pick your most embarrassing album from your top plays
- Multiple Choice Confessions: Answer probing questions about why you listen to certain songs
- Fan-O-Meter Slider: Rate how deep your fandom really goes for your top artists
- AI-Powered Roasts: Uses AI to generate personalized, witty burns based on your specific listening data
- Beautiful UI: Modern, dark interface with smooth animations and engaging interactions
- Secure: Session-based authentication with httpOnly cookies
- Frontend: Next.js, React, TypeScript, Tailwind CSS
- Backend: Next.js API routes with secure Last.fm authentication
- AI: Hackclub AI API for generating personalized roasts
- Authentication: Last.fm OAuth with MD5 signature verification
- Styling: Tailwind CSS with custom dark theme and smooth animations
You'll need a Last.fm API account:
- Go to Last.fm API
- Create an application to get your API key and shared secret
- Clone the repository:
git clone https://github.com/PawiX25/roast-my-lastfm.git
cd roast-my-lastfm- Install dependencies:
npm install- Create a
.env.localfile in the root directory:
LASTFM_API_KEY=your_api_key_here
LASTFM_SHARED_SECRET=your_shared_secret_here- Run the development server:
npm run dev- Open http://localhost:3000 in your browser
The app uses a sophisticated multi-step process:
-
Data Collection: Fetches 10+ different data points from Last.fm including top artists with detailed info, tracks, albums, recent plays, loved tracks, weekly charts, and user tags
-
Question Generation: AI generates contextual questions based on your specific artists and songs, making each roast unique
-
Interactive Elements:
- Image-based choices for album selection
- Slider interactions for rating fandom levels
- Multiple choice questions about listening habits
-
Final Roast: AI analyzes all your data and conversation responses to deliver a personalized, savage critique with a numerical rating
Because Pudding.cool's music judge doesn't work (at least for me using Spotify).