{"id":14991396,"url":"https://github.com/chaoyangnz/phew","last_synced_at":"2025-04-12T03:42:14.105Z","repository":{"id":255790412,"uuid":"852241180","full_name":"chaoyangnz/phew","owner":"chaoyangnz","description":"Photo Exif Watermark","archived":false,"fork":false,"pushed_at":"2025-02-14T11:27:37.000Z","size":221477,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T23:22:17.111Z","etag":null,"topics":["border","bun","exif","lightroom","photography","post-processing","sharp","watermark"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaoyangnz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-04T13:24:26.000Z","updated_at":"2025-02-20T11:09:04.000Z","dependencies_parsed_at":"2024-09-15T21:01:23.896Z","dependency_job_id":"71105edd-7ca9-4135-ba11-2bbd130130ba","html_url":"https://github.com/chaoyangnz/phew","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"ae33939dc5a8b8b0ec0f55f9e62d9ce0890967ef"},"previous_names":["chaoyangnz/phew"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoyangnz%2Fphew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoyangnz%2Fphew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoyangnz%2Fphew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoyangnz%2Fphew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaoyangnz","download_url":"https://codeload.github.com/chaoyangnz/phew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514221,"owners_count":21116899,"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":["border","bun","exif","lightroom","photography","post-processing","sharp","watermark"],"created_at":"2024-09-24T14:27:41.898Z","updated_at":"2025-04-12T03:42:14.085Z","avatar_url":"https://github.com/chaoyangnz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phew 😮‍💨\n\naka. **PH**oto **E**xif **W**atermark\n\nA tool to add Exif watermark to photos. The layout can be flexible to define and use different templates.\n\nWe use `JSX` to define the watermark templates, render it to `SVG` and composite over the original image.\n- no quality loss\n- no metadata (EXIF) loss\n\n## Install\n\nDownload the released files: \n- `phew.exe`\n- `phew.bat`\n- `libvips-42.dll`\n- `libvips-cpp.dll`\n\nThen you can run `phew.exe` as command.\n\n\u003e If you get errors: `Fail to load Library`, then you can put two `.dll` files to `C:\\Windows`.\n\n## Usage\n\n- CLI\n\n```\nphew.exe card examples/landscape.jpg -o examples --variation classic\n```\n\n- Javascript module\n\n```ts\n\nimport { render } from 'phew'\n\nrender({\n layout: 'card',\n variation: 'full',\n height: 400, \n}, file, 'dest')\n\n```\n\n- Lightroom\n\nIn `Export` dialog, the last section `Post-Pocessing`, select `Open in Other Application...`, choose the bat script `phew.bat` location.\n\nYou can edit `phew.bat` as you need to customise the parameters: layout, other tweaks etc.\n\n![lightroom.png](lightroom.png)\n\n## Examples\n\n\n|                    layout / gallery                     |\n|:-------------------------------------------------------:|\n|                       card / full                       |\n|        ![](examples/landscape-phew-card-full.jpg)         |\n|                     card / classic                      |\n|       ![](examples/landscape-phew-card-classic.jpg)       |\n|                       card / logo                       | \n|        ![](examples/landscape-phew-card-logo.jpg)         |\n|                      card / clean                       |\n|        ![](examples/landscape-phew-card-clean.jpg)        |\n|                   card / clean / blur                   |\n|     ![](examples/landscape-phew-card-clean-blur.jpg)      |\n|                      card / param                       |\n|        ![](examples/landscape-phew-card-param.jpg)        |\n|                       card / logo                       |\n|      ![](examples/square-phew-card-logo.jpg)       |\n|                   card / logo / blur                    |\n|    ![](examples/square-phew-card-logo-blur.jpg)    |\n|                  card / logo / overlay                  |\n|    ![](examples/landscape-phew-card-logo-overlay.jpg)     |\n|                      card / param                       |\n|        ![](examples/landscape-phew-card-param.jpg)        |\n|                       card / logo                       |\n|      ![](examples/square-phew-card-logo.jpg)       |\n|                   card / logo / blur                    |\n|    ![](examples/square-phew-card-logo-blur.jpg)    |\n|                  card / logo / overlay                  |\n|    ![](examples/landscape-phew-card-logo-overlay.jpg)     |\n|                                                         |\n|                                                         |\n|                   expo / around                   |\n|   ![](examples/portrait-phew-expo-around.jpg)    |\n|               expo / around / blur                |\n| ![](examples/portrait-phew-expo-around-blur.jpg) |\n|                    expo / left                    |\n|    ![](examples/portrait-phew-expo-left.jpg)     |\n|                   expo / right                    |\n|    ![](examples/portrait-phew-expo-right.jpg)    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaoyangnz%2Fphew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaoyangnz%2Fphew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaoyangnz%2Fphew/lists"}