{"id":18799875,"url":"https://github.com/mcnaveen/blurhash-cli","last_synced_at":"2025-04-13T17:31:09.974Z","repository":{"id":58898644,"uuid":"534107677","full_name":"mcnaveen/blurhash-cli","owner":"mcnaveen","description":"Generate blurhash without leaving your terminal","archived":false,"fork":false,"pushed_at":"2024-05-11T08:53:59.000Z","size":475,"stargazers_count":7,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T10:51:32.022Z","etag":null,"topics":["blurhash","blurhash-cli","blurhash-cli-generator","blurhash-from-url","blurhash-generator","lazyload","next-image-optimizer"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/blurhash-cli","language":"JavaScript","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/mcnaveen.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}},"created_at":"2022-09-08T07:52:40.000Z","updated_at":"2024-02-14T11:14:36.000Z","dependencies_parsed_at":"2022-09-24T09:11:53.850Z","dependency_job_id":"fadef6d0-8cf9-401e-8642-ee47cb9fe437","html_url":"https://github.com/mcnaveen/blurhash-cli","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"8ea7975914679258ab3104644ca27179a998f096"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2Fblurhash-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2Fblurhash-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2Fblurhash-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcnaveen%2Fblurhash-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcnaveen","download_url":"https://codeload.github.com/mcnaveen/blurhash-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223596963,"owners_count":17170872,"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":["blurhash","blurhash-cli","blurhash-cli-generator","blurhash-from-url","blurhash-generator","lazyload","next-image-optimizer"],"created_at":"2024-11-07T22:16:55.554Z","updated_at":"2024-11-07T22:16:55.940Z","avatar_url":"https://github.com/mcnaveen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blurhash CLI\n\n:unicorn: Generate blurhash without leaving your terminal.\n\n![Test](https://github.com/mcnaveen/blurhash-cli/workflows/CI/badge.svg)\n![Downloads this Week](https://img.shields.io/npm/dw/blurhash-cli)\n![Bundle Size](https://img.shields.io/bundlephobia/min/blurhash-cli)\n![Version](https://img.shields.io/npm/v/blurhash-cli)\n\n![Blurhash from URL](./image/cover.png)\n\n### :package: Requirements\n\n- Node.js 16X LTS or Higher 📦\n\n### :sparkles: Installation\n\n- Install the NPM Package with the below command:\n\n```bash\n#npm\nnpm install -g blurhash-cli\n\n#yarn\nyarn global add blurhash-cli\n```\n\n\u003e Please note that you can also use `npx` to run the package without installing it globally.\n\n\u003e Example: `npx blurhash-cli`\n\n### :bulb: Usage\n\nIn your terminal, run the below command:\n\n```bash\nnpx blurhash-cli https://i.imgur.com/NhfEdg2.png\n```\n\nModify the Size (Size is optional, it defaults to 32):\n\n\u003e The size flag controls the quality of the generated blurhash. A higher size value results in better quality but longer generation time.\n\n```bash\nnpx blurhash-cli https://i.imgur.com/NhfEdg2.png --size=64\n```\n\n### :ballot_box_with_check: Output\n\n```\n✔ 🥳 Blurhash Generated\n› Hash: UnR.*,kW.TnPt7WBocozpJV@nMkWadofWCV@\n› Width: 600\n› Height: 600\n```\n\n### :rocket: Example with Local Image\n\n```bash\nnpx blurhash-cli ./image.png --local\n```\n\n### :six_pointed_star: Credits\n\n- This CLI uses the [blurhash-from-url](https://www.github.com/mcnaveen/blurhash-from-url) library to generate the blurhash for the given URL.\n\n#### :green_heart: Message\n\nI hope you find this useful. If you have any questions, please create an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcnaveen%2Fblurhash-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcnaveen%2Fblurhash-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcnaveen%2Fblurhash-cli/lists"}