{"id":23872142,"url":"https://github.com/xiaoyao9184/docker-magic","last_synced_at":"2025-02-22T19:23:46.005Z","repository":{"id":264413522,"uuid":"893270420","full_name":"xiaoyao9184/docker-magic","owner":"xiaoyao9184","description":"Docker implementation of the MinerU pdf to markdown ","archived":false,"fork":false,"pushed_at":"2024-12-25T12:53:32.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T15:38:50.281Z","etag":null,"topics":["cuda-support","docker-image","markdown-export","mineru","pdf-extractor"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaoyao9184.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}},"created_at":"2024-11-24T01:18:56.000Z","updated_at":"2024-12-25T12:53:36.000Z","dependencies_parsed_at":"2025-01-03T15:46:27.300Z","dependency_job_id":null,"html_url":"https://github.com/xiaoyao9184/docker-magic","commit_stats":null,"previous_names":["xiaoyao9184/docker-magic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoyao9184%2Fdocker-magic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoyao9184%2Fdocker-magic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoyao9184%2Fdocker-magic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoyao9184%2Fdocker-magic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaoyao9184","download_url":"https://codeload.github.com/xiaoyao9184/docker-magic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240223960,"owners_count":19767676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cuda-support","docker-image","markdown-export","mineru","pdf-extractor"],"created_at":"2025-01-03T15:30:27.597Z","updated_at":"2025-02-22T19:23:45.973Z","avatar_url":"https://github.com/xiaoyao9184.png","language":null,"readme":"# Docker Magic\n\nA Docker image built through Github Actions with Git commit version tag\n\n# Why\n\nI found that Magic's Docker image is difficult to find.\nThe code on [GitHub](https://github.com/opendatalab/MinerU.git) does not provide a pre-built Docker image.\n\nThis project will use GitHub Actions and Docker Hub to build and publish images,\naiming to keep the process as clean as possible without custom configuration files.\n\n# Tags\n\nThe images of this project will be published to Docker Hub under the repository [xiaoyao9184/magic](https://hub.docker.com/r/xiaoyao9184/magic).\n\nSince this project references the Magic project via a submodule, it cannot monitor push events on the Magic project, and therefore cannot automatically create an image for every commit.\nA good solution is to manually trigger the action and tag it with the commit id. For more details, see this article [set-dynamic-parameters-github-workflows-en](https://damienaicheh.github.io/github/actions/2022/01/20/set-dynamic-parameters-github-workflows-en.html).\n\nThe default image name format is `${DOCKERHUB_USERNAME}/magic`.\n\nThe tag uses the input parameter `commit_id`,\nwhich can be either a branch name or a commit id, \nwhen manually triggering the [docker-image-tag-commit](./.github/workflows/docker-image-tag-commit.yml) job.\nif the job is triggered by a submodule update push,\nthe default branch name `main` will be used instead of the `commit_id` parameter.\nThis job will also use the shortened commit id as the tag.\n\nIf the job [docker-image-tag-version](./.github/workflows/docker-image-tag-version.yml) is triggered with the `magic_version` parameter set to the PyPI Magic version number,\nthe Magic package published on PyPI will be installed for the build,\nand `magic_version` will be used as the tag.\n\nCurrently, only the `linux/amd64` platform is supported.\n\n# Change\n\nYou can fork this project and build your own image. You will need to provide the following variables: `DOCKERHUB_USERNAME`, `DOCKERHUB_TOKEN`.\nSee [this](https://github.com/docker/login-action#docker-hub) for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoyao9184%2Fdocker-magic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaoyao9184%2Fdocker-magic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoyao9184%2Fdocker-magic/lists"}