Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.38 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.38 KB

Local audio downloader

This is a simple project to download audio from a youtube video and convert it to mp3 using yt-dlp, ffmpeg and streamlit.

Prerequisites

How to use

  1. Clone this repository
git clone https://github.com/Sergimayol/local-downloader.git
  1. Install the requirements
pip install -r requirements.txt
  1. Run the app
streamlit run src/app.py
# or
python -m streamlit run src/app.py
  1. Access the app in your browser at http://localhost:8501

Note: That this project is meant to be used locally, so it doesn't have any kind of security, so don't use it in a public server. If you don't want the UI, you can use the scripts/download-audio.sh script and pass the video url as an argument, it also needs the ffmpeg binary to be in the path and the yt-dlp python package installed.

Run with docker

  1. Clone this repository
git clone https://github.com/Sergimayol/local-downloader.git
  1. Build the image
docker build -t local-downloader .
  1. Run the container
docker run -p 8501:8501 local-downloader

License

This project is licensed under the MIT License - see the LICENSE file for details.