{"id":23204644,"url":"https://github.com/xiaoyao9184/docker-wam","last_synced_at":"2026-05-04T05:40:17.066Z","repository":{"id":266085043,"uuid":"897302043","full_name":"xiaoyao9184/docker-wam","owner":"xiaoyao9184","description":"Docker implementation of the paper \"Watermark Anything with Localized Messages\"","archived":false,"fork":false,"pushed_at":"2026-03-17T02:03:45.000Z","size":166,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-17T12:08:44.916Z","etag":null,"topics":["cuda-support","docker-image","wam","watermark-anything"],"latest_commit_sha":null,"homepage":"","language":"Python","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-02T11:53:43.000Z","updated_at":"2026-03-17T02:03:48.000Z","dependencies_parsed_at":"2025-05-07T13:24:57.452Z","dependency_job_id":"de9c24e6-7788-4dc4-8291-713a535901ca","html_url":"https://github.com/xiaoyao9184/docker-wam","commit_stats":null,"previous_names":["xiaoyao9184/docker-wam"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiaoyao9184/docker-wam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoyao9184%2Fdocker-wam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoyao9184%2Fdocker-wam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoyao9184%2Fdocker-wam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoyao9184%2Fdocker-wam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaoyao9184","download_url":"https://codeload.github.com/xiaoyao9184/docker-wam/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoyao9184%2Fdocker-wam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32596533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cuda-support","docker-image","wam","watermark-anything"],"created_at":"2024-12-18T16:19:35.039Z","updated_at":"2026-05-04T05:40:17.045Z","avatar_url":"https://github.com/xiaoyao9184.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker watermark-anything\n\nA Docker image built through Github Actions with Git commit version tag\n\n[![Docker Image Build/Publish tag with commit](https://github.com/xiaoyao9184/docker-wam/actions/workflows/docker-image-tag-commit.yml/badge.svg)](https://github.com/xiaoyao9184/docker-wam/actions/workflows/docker-image-tag-commit.yml) [![](https://img.shields.io/docker/v/xiaoyao9184/watermark-anything)](https://hub.docker.com/r/xiaoyao9184/watermark-anything)\n\n[![HuggingFace Space Sync](https://github.com/xiaoyao9184/docker-wam/actions/workflows/hf-space-sync.yml/badge.svg)](https://github.com/xiaoyao9184/docker-wam/actions/workflows/hf-space-sync.yml) [![](https://img.shields.io/badge/HuggingFace-space-ff9f44?logo=huggingface)](https://huggingface.co/spaces/xiaoyao9184/watermark-anything) ![](https://badge.mcpx.dev?type=server 'MCP Server')\n\n![LabelStudio ML](https://img.shields.io/badge/LabelStudio-ML-ff7557?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA%2FwD%2FAP%2BgvaeTAAABhElEQVRIie2UzStEURjGf%2Bd%2BIFkoNc0sWAgLZUOS9ZSVBQvGwspCliym%2FAdTsiQpG1lpVuIfYMPCSKMoFkr5HBFFGM5rccPljnOnu%2BWps3ju%2Bzzv73bqXiXpoTl%2BSmRXTS%2FPB577I%2BlUD6j%2B4OBtSk1njz%2BsAzIWCClWACMAaC%2FZtaxFwA8oqS5Jp1ZDAE0hcyMgDvSWsyAaIFEPnUlz82gPDnIRAW4V1MXMzdOa0OUewNExNHG0lacuBj2DYP12cz61dkBLG%2BQ24DAPihFsvUZl4fYbQGWyBZkYqMABlA1V1WW9GY7jHdv1vMi9ymQLP2NWedui6x%2FwFwAyPpxA2d5XpTU8PsDLU3jztehl34qeF6tWxocTMjrq%2BmMObvHs091cwvIsNDRDMvgn%2Fqb9Hcitf3klC7hFqL3rBra%2BAKX08gzX52bA4715bgRcnMDqUlkLogGUusJ2d4xN%2FdqI1i3RACKbKrPUZypKOjUJZMIBwkyJej6siMg2qGDXVheh3X%2F59Q535W%2Fus0NULAAAAABJRU5ErkJggg%3D%3D)\n\n# Why\n\nI found that watermark-anything's Docker image is difficult to find.\nThe code on [GitHub](https://github.com/facebookresearch/watermark-anything) 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/watermark-anything](https://hub.docker.com/r/xiaoyao9184/watermark-anything).\n\nSince this project references the watermark-anything project via a submodule, it cannot monitor push events on the watermark-anything 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}/watermark-anything`.\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 `master` will be used instead of the `commit_id` parameter.\nThis job will also use the shortened commit id as the tag.\n\nCurrently, only the `linux/amd64` platform is supported.\n\n# Model\n\nThe models of this project will be synced to HuggingFace under the model [xiaoyao9184/watermark-anything](https://huggingface.co/xiaoyao9184/watermark-anything).\n\nThe Docker image does not include model files.\nWhen running, the required models will be automatically downloaded.\n\nIf you need to run offline, you must pre-download the model files and enable offline mode.\nSee [cache/README.md](./cache/README.md) for detailed instructions.\n\n# Service\n\nBy default, the Docker container runs the Jupyter Notebook, which comes from the original project.\n\nHowever, this project also provides a Streamlit App and a Gradio App.\nThe Gradio App supports both a UI and API interface, and can even serve as an MCP server,\nso it is recommended as the preferred option.\n\nThe source code for the Gradio App is located in the [gradio](./gradio) directory of this project.\nA demo of this project is also available and auto-synced on Hugging Face Spaces: [xiaoyao9184/watermark-anything](https://huggingface.co/spaces/xiaoyao9184/watermark-anything)\n\nTo run the Gradio App, you can do so by modifying the Docker command. see the `up.gradio` sub-directory in the [docker](./docker) directory for details.\n\nAnd this project also provides Label Studio ML Backend.\n\nThe source code for the Label Studio ML Backend is located in the [label](./label) directory of this project.\n\nTo run the Label Studio ML Backend, you can do so by modifying the Docker command. see the `up.label` sub-directory in the [docker](./docker) directory for details.\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`, `HF_USERNAME`, `HF_TOKEN`.\nSee [this](https://github.com/docker/login-action#docker-hub) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoyao9184%2Fdocker-wam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaoyao9184%2Fdocker-wam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoyao9184%2Fdocker-wam/lists"}