Skip to content

prasoonkandel/yt-download

Repository files navigation

YouTube to MP3

A web application to convert YouTube videos to MP3 audio files and download/preview them.

Notice

YouTube connection may be blocked in some environments. Run this project locally to use the web application..

Features

  • Convert YouTube videos into MP3 audio files.
  • In-browser audio preview without downloading the file.
  • One Click easy download.
  • Simple, responsive web interface.

Tech Stack

  • Backend: Python (app.py, download.py)
  • Frontend: HTML templates in templates/ and static assets in static/

Installation & Setupetup

  1. Install the FFmpeg binary (required):

    • Ubuntu/Debian

      sudo apt update &∓& sudo apt install -y ffmpeg
    • Fedora

      sudo dnf install -y ffmpeg
    • Arch Linux

      sudo pacman -S ffmpeg
    • macOS (Homebrew)

      brew install ffmpeg
    • Windows

      Install FFmpeg from the official site and make sure ffmpeg is available in your system PATH.

  2. Install the required Python dependencies:

    pip install -r requirements.txt
  3. Start the application server:

    python app.py
  4. Open your web browser and navigate to the local server address provided in the terminal.

The app is served by Flask, so the main page and assets should be opened through the local server.

Usage

  1. Paste a valid YouTube URL into the input field.
  2. Click the "Convert" button.
  3. Wait for the server to process the video.
  4. Preview the resulting audio in the browser or click "Download MP3" to save the file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published