{"id":19860397,"url":"https://github.com/hakutyou/caddy-imagefilter","last_synced_at":"2025-10-04T13:59:36.517Z","repository":{"id":65804563,"uuid":"599965674","full_name":"hakutyou/caddy-imagefilter","owner":"hakutyou","description":"caddy2 给图片加水印的扩展","archived":false,"fork":false,"pushed_at":"2023-02-10T12:10:45.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T14:47:29.174Z","etag":null,"topics":["caddy","caddy2"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hakutyou.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":"2023-02-10T09:23:34.000Z","updated_at":"2023-02-10T15:45:07.000Z","dependencies_parsed_at":"2023-02-23T10:01:13.741Z","dependency_job_id":null,"html_url":"https://github.com/hakutyou/caddy-imagefilter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakutyou%2Fcaddy-imagefilter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakutyou%2Fcaddy-imagefilter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakutyou%2Fcaddy-imagefilter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakutyou%2Fcaddy-imagefilter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hakutyou","download_url":"https://codeload.github.com/hakutyou/caddy-imagefilter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241262639,"owners_count":19936048,"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":["caddy","caddy2"],"created_at":"2024-11-12T15:05:35.852Z","updated_at":"2025-10-04T13:59:31.458Z","avatar_url":"https://github.com/hakutyou.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# caddy-imagefilter\n\n根据 [caddy-imagefilter](https://github.com/ueffel/caddy-imagefilter) 魔改，增加了水印功能\n\n## 安装\n```bash\nxcaddy build --with github.com/hakutyou/caddy-imagefilter/watermark\n```\n\n## 使用\n```caddy-d\n{\n    order image_filter before file_server\n}\n\nyour-web.site {\n    root * /path/to/website\n\n    file_server\n\n    # 所有的图片\n    @thumbnail {\n        path_regexp thumb /.+\\.(jpg|jpeg|png|gif|bmp|tif|tiff|webp)$\n    }\n\n    image_filter @thumbnail {\n        # 只支持 png 图片\n        watermark /path/to/image.png\n    }\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakutyou%2Fcaddy-imagefilter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhakutyou%2Fcaddy-imagefilter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakutyou%2Fcaddy-imagefilter/lists"}