Welcome to Tubehive! This is the frontend of Tubehive, a Vite-based application that allows you to search for YouTube videos, view results, and download them as MP3 files. You can also directly paste the URL of a YouTube video and download it as an MP3. Below, you'll find the steps to set up and run this application on your local machine.
- Search YouTube Videos: Search for YouTube videos and view the results.
- Download MP3: Download YouTube videos as MP3 files.
- Direct URL Input: Paste the URL of a YouTube video and download it directly as an MP3.
Before you begin, ensure you have met the following requirements:
- Node.js installed on your machine
- npm (Node Package Manager) or yarn installed
-
Clone the Repository
git clone https://github.com/ElisBushaj/tubehive.git cd tubehive
-
Install Dependencies
Navigate to the project directory and run:
npm install
or, if you prefer yarn:
yarn install
-
Environment Variables
Create a
.env
file in the root directory of the project and add the following environment variable:VITE_API=http://localhost:4000
Replace
http://localhost:4000
with the URL of your backend API.
To start the development server, run:
npm run dev
or, if you prefer yarn:
yarn dev
The application will be available at http://localhost:3000
.
To create a production build, run:
npm run build
or, if you prefer yarn:
yarn build
This will create a dist
directory with the production build of the application.
Contributions are welcome! Please open an issue or submit a pull request with any improvements or bug fixes.
This project is licensed under the MIT License.
If you have any questions or need further assistance, feel free to contact me at elisbushaj2@gmail.com.
Thank you for using Tubehive! Enjoy your music!