Skip to content

syntaxcoder13/YT-to-MP3

Repository files navigation

YT to MP3 Converter

A fast and beautiful YouTube to MP3 converter web application built with Next.js 14, Tailwind CSS, and RapidAPI.

Prerequisites (RapidAPI Setup)

Before running the application, make sure you have your RapidAPI credentials ready.

  1. Subscribe to YouTube to MP3 API on RapidAPI Hub.
  2. Create a .env.local file in the root directory.
  3. Add your API key and host:
RAPIDAPI_KEY=your_key_here
RAPIDAPI_HOST=youtube-mp36.p.rapidapi.com

Running the Application

  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

Open http://localhost:3000 with your browser to see the result.

Features Realized

  • Dark theme inspired by YouTube
  • Center hero section with title and subtitle
  • Input field with auto-trim on paste and blur, URL validation, and glowing focus borders
  • Modern animated Loading and Converting states
  • Full success view with video thumbnail, title, rounded file size, and primary download button
  • Proper error handling with descriptive states
  • Backend running RapidAPI conversion for high reliability and speed.
  • Small footprint with no local binary dependencies.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors