The backend server, built with Node.js and Express, uses ytdl-core to fetch YouTube video details and formats.
MIT License
This project allows users to search for YouTube videos and download them. The backend server handles video information and format options, while the frontend, built with React and Vite, provides a modern interface for interacting with the service.
The backend server is developed using Node.js and Express, utilizing ytdl-core
to fetch video details from YouTube.
/video-options/:videoId
videoId
- The ID of the YouTube video.The frontend is developed with React and Vite, offering a fast and responsive user interface for searching and downloading YouTube videos.
Clone the backend repository:
git clone https://github.com/amliyanage/MP4-MP3-Download-Server-.git
cd MP4-MP3-Download-Server-
Install dependencies:
npm install
Start the server:
npm start
The server will run on http://localhost:3001.
Clone the frontend repository:
git clone https://github.com/amliyanage/Video_Downloader.git
cd Video_Downloader
Install dependencies:
npm install
Start the development server:
npm run dev
The frontend will be accessible at http://localhost:3000.
Fetches available formats and details for a given YouTube video ID.
Parameters:
videoId
(string): The ID of the YouTube video.Response:
formats
(array): List of available video formats.bestQuality
(object): Information about the best quality format (e.g., 1440p).server
directory to add new features or endpoints.package.json
file and run npm install
.src
directory to change the UI or add new features.test
directory using your preferred testing framework.This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to open issues or submit pull requests if you have any improvements or suggestions. Please make sure to follow the contributing guidelines if you have any.
If you have any questions, please reach out to [email protected].