Skip to content

Getting_Started.md

nathanrish edited this page Aug 23, 2024 · 1 revision

Title: Getting Started

Content:

Getting Started

Welcome to the YouTube Audio Processor project! This guide will help you set up the project on your local machine and get started with processing YouTube audio.

Prerequisites

Before you begin, ensure you have the following:

  • Python 3.8 or later: You need Python installed on your system.
  • Git: For cloning the repository.
  • Virtual Environment: Recommended for managing dependencies.

Installation Steps

Follow these steps to set up and run the YouTube Audio Processor:

1. Clone the Repository

Open a terminal or command prompt and run:

git clone https://github.com/nathanrish/youtube_audio_processor.git

Navigate into the project directory:

cd youtube_audio_processor

2. Set Up a Virtual Environment

Create a virtual environment to isolate project dependencies:

python -m venv venv

Activate the virtual environment:

  • Linux/macOS:

    source venv/bin/activate
  • Windows:

    venv\Scripts\activate

3. Install Dependencies

Install the required Python packages using pip:

pip install -r requirements.txt

4. Configure the Project

Create a .env file in the root directory with the following content:

DOWNLOAD_PATH="./downloads"
OUTPUT_DIR="./chunks"

This file specifies where the downloaded audio and processed chunks will be saved.

5. Run the Application

Execute the main script to start processing:

python main.py

The application will prompt you to enter the YouTube video URL you wish to process. Provide the URL when asked.

Using the Application

Once the application starts, it will:

  1. Download the audio from the specified YouTube video.
  2. Process the audio and save it in the directories specified in the .env file.

Additional Information

For more details on usage, configuration, and troubleshooting, refer to the following documents:

Feel free to contribute to the project or seek help if needed.

Getting Help

If you encounter issues or have questions, you can:

We hope you find this project useful and easy to use!