A simple web application that allows users to download audio from YouTube videos in MP3 format. The client is built using React and is deployed on GitHub Pages. The server, which handles the downloading process, must be run locally.
This application requires a local server to function correctly as the server handles the downloading process. Ensure that the server is running before using the client.
To run the server locally, follow these steps:
Make sure you have the following installed:
- Node.js (version 12 or higher)
- npm (Node package manager, comes with Node.js)
You can clone only the server
folder using sparse checkout:
git clone --no-checkout https://github.com/mccedddy/yt-mp3-downloader.git
cd yt-mp3-downloader
git sparse-checkout init --cone
git sparse-checkout set server
git checkout main
Navigate to the server directory and install the required packages:
cd server
npm install
Start the server by running the following command:
node server.js
The server will run on http://localhost:4000.
- Open the client application in your browser. You can access the deployed client application at mccedddy.github.io/yt-mp3-downloader.
- Enter the YouTube video URL you wish to download the audio from.
- Click the "Download" button to initiate the download process.