Vidown is a powerful web application that enables you to effortlessly download publicly accessible videos from popular social media platforms, including Twitter, YouTube, Facebook, and Instagram. Built with a robust backend in Node.js and a responsive frontend in React.js, Vidown provides a seamless and user-friendly video downloading experience.
- Download videos from Twitter, YouTube, Facebook, and Instagram effortlessly.
- Utilizes Node.js for the efficient management of video fetching.
- Employs React.js to create a responsive and intuitive user interface.
To install and run this app locally, follow the steps below:
-
Clone the repository:
git clone https://github.com/shuvra-matrix/SOCIAL-MEDIA-VIDEO-DOWNLOAD---MERN.git
-
Install the dependencies for the server by navigating to the server folder:
cd ./server npm install
-
Set up environment variables by creating a .env file in the "server" folder with the following content:
YT_API_KEY=your_youtube_api_key TW_API_KEY=your_twitter_api_key FB_API_KEY=your_facebook_api_key IG_API_KEY=your_instagram_api_key
-
Start the server by running the following command:
npm start
This will launch the server and make it accessible at http://localhost:3030.
-
Install the dependencies for the frontend by navigating to the public folder:
cd ./public npm install
-
Start the React app by running the following command:
npm start
-
You can use the following APIs to integrate YouTube and Twitter video download functionality into your backend:
YouTube Video Download API: https://rapidapi.com/ytjar/api/yt-api/pricing
Twitter Video Download API: https://rapidapi.com/omarmhaimdat/api/twitter154
Facebook Video Download API: https://rapidapi.com/hyoga/api/facebook-video-audio-download
Instagram Video Download API: https://rapidapi.com/emmanueldavidyou/api/fb-video-reels
This will start the frontend of the app and make it accessible at http://localhost:3000.
If you have Docker installed, you can easily run Vidown using Docker Compose. Follow the steps below:
-
Make sure you have Docker and Docker Compose installed on your system.
-
In the server directory of the project, create a
.env
file with the necessary API keys as mentioned in the installation steps. -
Open a terminal and run the following command to start Vidown using Docker Compose:
docker-compose -f ./docker-compose.yaml up
This command will build the Docker images and start the containers.
-
Vidown will be accessible at http://localhost:3000 in your web browser.
-
Open your web browser and go to http://localhost:3000 to access Vidown.
-
Enter the URL of the video you want to download from Twitter, YouTube, Facebook, or Instagram into the provided input field.
-
Click the "Download" button, and Vidown will retrieve and offer the video for download.
-
Save the video to your desired location on your local device.
Please note: Vidown is intended for personal use only and should be used in compliance with the terms of service of the respective social media platforms. Downloading copyrighted material without permission may violate copyright laws.
By using Vidown, you acknowledge and agree that you are solely responsible for your actions and will use the app responsibly and within legal boundaries.
We welcome contributions from the community to help improve Vidown. Feel free to submit bug reports, feature requests, or pull requests.