Skip to content

A FastAPI-based service to download YouTube videos using yt-dlp, fully containerized with Docker Compose.

Notifications You must be signed in to change notification settings

ankikumar1018/YouTube-Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฅ YouTube Downloader API (FastAPI + Docker Compose)

A FastAPI-based service to download YouTube videos using yt-dlp, fully containerized with Docker Compose.


๐Ÿณ Run with Docker Compose

1. Build and start containers

docker-compose up -d --build

2. Stop containers

docker-compose up down

3. Linting with Ruff

Run Ruff to check code style and linting:

ruff check .

๐Ÿ”— API Endpoints

  • GET /download/?url=<video_url> โ†’ start a new download
  • GET /status/{job_id} โ†’ check download status
  • GET /files/{filename} โ†’ fetch completed file

Visit the interactive docs at: http://localhost:8000/docs

About

A FastAPI-based service to download YouTube videos using yt-dlp, fully containerized with Docker Compose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published