{"id":15779594,"url":"https://github.com/jim60105/docker-ytarchive","last_synced_at":"2026-04-13T11:02:02.045Z","repository":{"id":107553638,"uuid":"584565182","full_name":"jim60105/docker-ytarchive","owner":"jim60105","description":"This is a Dockerfile for Kethsar/ytarchive. (Dockerfile, CI image build)","archived":false,"fork":false,"pushed_at":"2025-08-23T11:38:20.000Z","size":74,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-23T17:26:24.233Z","etag":null,"topics":["docker","docker-image","dockerfile","recording","youtube","ytarchive"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/jim60105.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-02T23:43:39.000Z","updated_at":"2025-08-23T11:38:23.000Z","dependencies_parsed_at":"2025-08-23T14:45:26.569Z","dependency_job_id":null,"html_url":"https://github.com/jim60105/docker-ytarchive","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jim60105/docker-ytarchive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-ytarchive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-ytarchive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-ytarchive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-ytarchive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jim60105","download_url":"https://codeload.github.com/jim60105/docker-ytarchive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-ytarchive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31749763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"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":["docker","docker-image","dockerfile","recording","youtube","ytarchive"],"created_at":"2024-10-04T18:20:35.570Z","updated_at":"2026-04-13T11:02:02.040Z","avatar_url":"https://github.com/jim60105.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-ytarchive\n\nThis repository contains Dockerfiles for [Kethsar/ytarchive: A tool for archiving YouTube livestreams from the start](https://github.com/Kethsar/ytarchive) from the community.\n\nGet the Dockerfile on [GitHub](https://github.com/jim60105/docker-ytarchive), or pull the image from [ghcr.io](https://ghcr.io/jim60105/ytarchive) or [Quay.io](https://quay.io/repository/jim60105/ytarchive).\n\nThese Dockerfiles are created to construct images using three different base images: scratch, Red Hat UBI (Universal Base Image), and Google Distroless.\n\nWe used scratch image as the default.\n\n## Available Pre-built Image\n\n![GitHub last commit (branch)](https://img.shields.io/github/last-commit/jim60105/docker-ytarchive/master?label=%20\u0026style=for-the-badge) ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/jim60105/docker-ytarchive/docker_publish.yml?label=%20\u0026style=for-the-badge)\n\n\u003e [!NOTE]  \n\u003e We run an auto update CI weekly to make the `latest` image up to date with the Kethsar/ytarchive master branch.\n\n```bash\ndocker run -it -v \".:/download\" ghcr.io/jim60105/ytarchive:latest     [OPTIONS] [url] [quality]\ndocker run -it -v \".:/download\" ghcr.io/jim60105/ytarchive:v0.5.0     [OPTIONS] [url] [quality]\ndocker run -it -v \".:/download\" ghcr.io/jim60105/ytarchive:v0.4.0-ubi [OPTIONS] [url] [quality]\n```\n\n## Building the Docker Image\n\n### Build Arguments\n\nThe Dockerfile accepts one build argument: `VERSION`. This argument is used to specify the version of ytarchive that will be installed in the Docker image. You can use the tags from the ytarchive repository to indicate the version, or you can use the branch name to build a specific branch. Check out the [ytarchive releases](https://github.com/Kethsar/ytarchive/releases) for the available tags and the [ytarchive branches](https://github.com/Kethsar/ytarchive/branches) for building a particular branch.\n\nThis repository contains three Dockerfiles for building Docker images based on different base images:\n\n| Dockerfile            | Base Image                                                                                                   |\n| --------------------- | ------------------------------------------------------------------------------------------------------------ |\n| Dockerfile            | [scratch](https://hub.docker.com/_/scratch/)                                                                 |\n| ubi.Dockerfile        | [Red Hat UBI9 micro](https://catalog.redhat.com/software/containers/ubi9/ubi-micro/615bdf943f6014fa45ae1b58) |\n| distroless.Dockerfile | [Google Distroless static-debian12](https://github.com/GoogleContainerTools/distroless)                      |\n\nPlease build them like this:\n\n```bash\ndocker build -f Dockerfile            --build-arg VERSION=v0.5.0 -t ytarchive:v0.5.0 .\ndocker build -f ubi.Dockerfile        --build-arg VERSION=master -t ytarchive:ubi .\ndocker build -f distroless.Dockerfile --build-arg VERSION=v0.3.2 -t ytarchive:v0.3.2-distroless .\n```\n\n\u003e [!NOTE]  \n\u003e If you are using an earlier version of the docker client, it is necessary to [enable the BuildKit mode](https://docs.docker.com/build/buildkit/#getting-started) when building the image. This is because I used the `COPY --link` feature which enhances the build performance and was introduced in Buildx v0.8.  \n\u003e With the Docker Engine 23.0 and Docker Desktop 4.19, Buildx has become the default build client. So you won't have to worry about this when using the latest version.\n\n## Usage Command\n\n```bash\ndocker run -it -v \".:/download\" ghcr.io/jim60105/ytarchive [OPTIONS] [url] [quality]\n```\n\nMount the current directory as `/download` and run ytarchive with additional input arguments.  \nThe downloaded files will be saved to where you run the command.\n\nThe `[OPTIONS]`, `[url]`, and `[quality]` placeholders should be replaced with the options and arguments for ytarchive. Check the [ytarchive README](https://github.com/Kethsar/ytarchive#usage) for more information.\n\n## License\n\n\u003e The main program, ytarchive, is distributed under [MIT](https://github.com/Kethsar/ytarchive/blob/master/LICENSE).  \n\u003e Please consult their repository for access to the source code and licenses.  \n\u003e The following is the license for the Dockerfiles and CI workflows in this repository.\n\n\u003e [!CAUTION]\n\u003e A GPLv3 licensed Dockerfile means that you _**MUST**_ **distribute the source code with the same license**, if you\n\u003e\n\u003e - Re-distribute the image. (You can simply point to this GitHub repository if you doesn't made any code changes.)\n\u003e - Distribute a image that uses code from this repository.\n\u003e - Or **distribute a image based on this image**. (`FROM ghcr.io/jim60105/ytarchive` in your Dockerfile)\n\u003e\n\u003e \"Distribute\" means to make the image available for other people to download, usually by pushing it to a public registry. If you are solely using it for your personal purposes, this has no impact on you.\n\u003e\n\u003e Please consult the [LICENSE](LICENSE) for more details.\n\n\u003cimg src=\"https://github.com/jim60105/docker-ytarchive/assets/16995691/782f16b9-3f49-49ef-943d-a29324fcc8db\" alt=\"gplv3\" width=\"200\" /\u003e\n\n[GNU GENERAL PUBLIC LICENSE Version 3](LICENSE)\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim60105%2Fdocker-ytarchive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjim60105%2Fdocker-ytarchive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim60105%2Fdocker-ytarchive/lists"}