{"id":24782741,"url":"https://github.com/dhth/squish","last_synced_at":"2025-03-24T05:29:58.701Z","repository":{"id":271426863,"uuid":"913404310","full_name":"dhth/squish","owner":"dhth","description":"resize images via the command line","archived":false,"fork":false,"pushed_at":"2025-02-23T14:14:56.000Z","size":89,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T15:23:07.929Z","etag":null,"topics":["image-resizer","image-resizing"],"latest_commit_sha":null,"homepage":"https://tools.dhruvs.space/squish","language":"Rust","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/dhth.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":"2025-01-07T16:09:21.000Z","updated_at":"2025-02-23T14:13:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"5946bca1-aefa-4213-9d46-7035cec857e2","html_url":"https://github.com/dhth/squish","commit_stats":null,"previous_names":["dhth/squish"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fsquish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fsquish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fsquish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhth%2Fsquish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhth","download_url":"https://codeload.github.com/dhth/squish/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245215924,"owners_count":20579074,"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":["image-resizer","image-resizing"],"created_at":"2025-01-29T11:19:09.574Z","updated_at":"2025-03-24T05:29:58.681Z","avatar_url":"https://github.com/dhth.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# squish\n\n✨ Overview\n---\n\n`squish` lets you resize images via the command line.\n\n![demo](https://github.com/user-attachments/assets/cecbffd7-cdcc-4b04-8084-00fb8c8298a0)\n\n💾 Installation\n---\n\n**cargo**:\n\n```sh\ncargo install --git https://github.com/dhth/squish.git\n```\n\n⚡️ Usage\n---\n\n### Help\n\n```text\nUsage: squish [OPTIONS] \u003cINPUT\u003e\n\nArguments:\n  \u003cINPUT\u003e  Local file path, or \"cb\" for system clipboard\n\nOptions:\n  -w, --width \u003cINTEGER\u003e          Width of resized image [default: 800]\n  -o, --output-file \u003cFILE\u003e       Destination of resized output file\n  -c, --copy-to-clipboard        Whether to copy resized image to clipboard (only supported for PNG images)\n  -b, --blur-strength \u003cINTEGER\u003e  Blur strength [default: 0]\n  -v, --verbose                  Whether to print updates\n  -m, --print-markdown-address   Whether to print address of output file in markdown format\n  -h, --help                     Print help\n```\n\n### Basic Usage\n\n```bash\n# resize clipboard contents, and write them back to clipboard\nsquish -c cb \n\n# resize clipboard contents, and write them to a file\nsquish -o path/to/output/image.png cb\n\n# resize a local file, and write resized contents to a file\nsquish -o path/to/output/image.png path/to/input/image.png\n\n# resize a local file, and write resized contents to a file and the clipboard\nsquish -o path/to/output/image.png -c path/to/input/image.png\n```\n\nℹ️ Disclaimer\n---\n\n`squish` has only been tested on macOS so far. Feedback on any bugs on\nLinux/Windows via [issues](https://github.com/dhth/squish/issues) is very much\nappreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhth%2Fsquish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhth%2Fsquish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhth%2Fsquish/lists"}