This is a submission for Weekend Challenge: Passion Edition
What I Built
What drives more passion than music? It isn't just something we listen to in the background; it's the soundtrack to our lives, fueling our late-night coding sessions, sparking fierce debates over the best genres, and defining our identities. I wanted to build something for people who are just as obsessed with their listening habits as I am.
MeloForge is an AI co-pilot built to prove your devotion to the music you love. It takes your raw listening data and transforms it into a visual, interactive, and shareable experience. With MeloForge, you can visualize your listening trends, chat with your music history using AI, generate intense "Genre Rivalries", and even mint your musical milestones permanently on the blockchain!
Demo
Live Site: https://meloforge.vercel.app/ (Note: Use Phantom wallet on Devnet for the blockchain features!)
Video Walkthrough:
Code
MeloForge π΅π₯
Your AI Music Passion Co-Pilot β Track, Rival, Create, and Own Your Sonic Legacy.
A submission for the DEV Weekend Challenge: Passion Edition.
π The Passion
The DEV Weekend Challenge asked us to build something inspired by passion. What drives more passion than music? It fuels late-night coding sessions, sparks fierce debates over the best genres, and connects fandoms across the world.
MeloForge is built for the obsessed listener. It takes your raw music listening data and transforms it into a visual, interactive, and shareable experience. From tracking your daily listening habits to generating AI-fueled "Genre Rivalries", MeloForge proves your devotion to the music you love.
β¨ Features
- π Passion Dashboard: Visualize your genre distribution, top artists, and listening trends on an intuitive dashboard.
- π€ Ask MeloForge (Google Gemini): Chat directly with your listening history. Ask your AI co-pilot, "Compare my hip-hop vs electronicβ¦
How I Built It
I built the foundation using Next.js 15 (App Router), TailwindCSS, and Prisma with PostgreSQL for authentication. However, the true magic of MeloForge comes from the deep integration of the four featured prize category technologies to power the core experience:
1. The Brain: Google Gemini
Gemini is the absolute core of the application. I used it in three distinct ways:
- Natural Language Chat: Users can ask the "Ask MeloForge" bot questions like "What should I listen to next based on my hip-hop binge?" Gemini analyzes their Snowflake stats and returns structured JSON that the frontend uses to render native YouTube players right in the chat.
- Vision Extraction: Nobody likes manual data entry. Users can upload a screenshot of their Spotify Wrapped, and Gemini Vision instantly extracts the text and logs their tracks automatically.
- Creative Scripting: Gemini acts as the hype-man, generating the personalized banter for the "Genre Rivalry Arena."
2. The Analytical Backbone: Snowflake
To handle the heavy lifting of user data, I integrated Snowflake. As users log tracks, the data is pushed to Snowflake. The dashboard then heavily queries Snowflake to instantly aggregate daily listening trends, genre distributions, and top artists into the responsive charts.
3. Immortalizing Passion: Solana & Metaplex Core
Passion deserves to be immortalized. I wanted a way for users to prove their dedication permanently. I deeply integrated @metaplex-foundation/umi and the highly optimized Metaplex Core standard. When a user hits a milestone, they can connect their Phantom wallet (Devnet). The app dynamically generates JSON metadata representing their stats, uploads a sleek 3D badge image to the decentralized Arweave network via Irys, and fires a single create instruction via Helius RPC to mint a true 1-of-1 NFT directly into their wallet's collectibles tab.
4. The Voice: ElevenLabs
Reading your stats is cool, but hearing them is better. I used the ElevenLabs API to breathe life into the Gemini-scripted "Genre Rivalries." When your top two genres go head-to-head, ElevenLabs dynamically voices the banter, turning a simple chart into a high-energy stadium showdown.
Prize Categories
I am submitting MeloForge for all four prize categories with Gemini AI as the primary category, as they all work together seamlessly to power the app:
- Best Use of Google AI: (Primary) Gemini powers the chat, the vision-based data entry, and the creative scripting.
- Best Use of Snowflake: Snowflake serves as the core data warehouse aggregating all listening statistics.
- Best Use of Solana: Fully functional Metaplex Core NFT minting and Arweave decentralized storage via Irys.
- Best Use of ElevenLabs: Dynamically voicing AI-generated text to enhance the user experience.
Top comments (0)