{"id":49078742,"url":"https://github.com/jabascal/ytube-download","last_synced_at":"2026-04-20T11:14:02.412Z","repository":{"id":179499675,"uuid":"651084629","full_name":"jabascal/ytube-download","owner":"jabascal","description":"Download from youtube to mp3 (music only) or mp4 (video) with the desired quality","archived":false,"fork":false,"pushed_at":"2023-10-02T19:27:06.000Z","size":178,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-24T23:13:07.498Z","etag":null,"topics":["app","fastapi","music-downloader","python","video-downloader","youtube-dl","youtube-downloader"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jabascal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-08T13:07:43.000Z","updated_at":"2023-07-22T06:11:31.000Z","dependencies_parsed_at":"2023-10-03T00:18:47.322Z","dependency_job_id":null,"html_url":"https://github.com/jabascal/ytube-download","commit_stats":null,"previous_names":["jabascal/ytube-download"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jabascal/ytube-download","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabascal%2Fytube-download","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabascal%2Fytube-download/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabascal%2Fytube-download/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabascal%2Fytube-download/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jabascal","download_url":"https://codeload.github.com/jabascal/ytube-download/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabascal%2Fytube-download/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32044459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T10:33:29.490Z","status":"ssl_error","status_checked_at":"2026-04-20T10:32:30.107Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app","fastapi","music-downloader","python","video-downloader","youtube-dl","youtube-downloader"],"created_at":"2026-04-20T11:13:57.666Z","updated_at":"2026-04-20T11:14:02.393Z","avatar_url":"https://github.com/jabascal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ytube download\nFastAPI app to download from youtube to mp3 (music only) or mp4 with highest or lowest quality. \nIt leverages YT-DLP: https://github.com/yt-dlp/yt-dlp\n\n![](https://github.com/jabascal/ytube-download/blob/fastapi/figures/ytube_app.png)\n\n\n## Installation\n### Python\nInstall in a python environment:\n```\npip install -r requirements.txt\n```\n\nConversion from *mp4* to *mp3* requires *ffmpeg* to be installed. In linux:\n```\nsudo apt-get ffmpeg\n```\n\n## Usage\nRecently, Google has added a validation step, which will be executed only the first time, requiring to validate with a google account and press enter. Outputs are downloaded to *./downloads*.\n\n\nWithin the environment \n\n```\ncd src\nuvicorn main:app --reload\n```\n\nor run \n```\nchmod +x run_ytube.sh\n./run_ytube.sh\n```\n\n### Use in replit\n\nTry it in replit:   [![Run in replit](https://badgen.net/badge/Run/Replit/red?)](https://replit.com/@jabascal1/ytube-download?v=1)\n\nFork and run directly on your replit account:\n\n```\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\nUse nix package manager to install ffmpeg\n```\nnix-shell -p jellyfin-ffmpeg\n```\n\nAdd *pkgs.jellyfin-ffmpeg* to *replit.nix*. Then, add to *.replit*\n```\nrun=\"./run_ytube.sh\"\n```\nas explained in https://docs.replit.com/programming-ide/nix-on-replit\n\nFile are downloaded to */home/runner/ytube-download/src/downloads/*\n\n```\nmkdir downloads\ncd downloads\nmv /home/runner/ytube-download/src/downloads/* .\n```\n\n### Use with Docker\nDocker image built as\n```\ndocker build --no-cache -t juanabascal/ytube .\n```\n\nRun docker image with port and volume mapping\n```\ndocker run -p 8000:8000 -it -v ytube:/usr/app/src/downloads juanabascal/ytube\n```\n\nDownloads can be found at */var/lib/docker/volumes/ytube/_data/*. To move files to a target directory\n```\nmkdir /home/$USER/Music/downloads\nchmod +x copy_files_docker_vol.sh\n./copy_files_docker_vol.sh\n```\n\n### Use with docker-compose\n```\ndocker-compose up\n```\nData is download to volume */var/lib/docker/volumes/ytube-download_ytube/_data*. To copy files\n```\nmkdir /home/$USER/Music/downloads\nchmod +x copy_files_docker_compose_vol.sh\n./copy_files_docker_compose_vol.sh\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabascal%2Fytube-download","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabascal%2Fytube-download","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabascal%2Fytube-download/lists"}