{"id":22674536,"url":"https://github.com/afroborg/picsum-cli","last_synced_at":"2025-03-29T12:21:39.365Z","repository":{"id":245269529,"uuid":"817741727","full_name":"afroborg/picsum-cli","owner":"afroborg","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-20T13:37:06.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T13:23:02.125Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/afroborg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-20T10:48:51.000Z","updated_at":"2024-06-20T13:37:09.000Z","dependencies_parsed_at":"2024-06-21T02:48:34.601Z","dependency_job_id":"f167918a-103a-4557-8b52-9ab3dc0256f1","html_url":"https://github.com/afroborg/picsum-cli","commit_stats":null,"previous_names":["afroborg/picsum-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afroborg%2Fpicsum-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afroborg%2Fpicsum-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afroborg%2Fpicsum-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afroborg%2Fpicsum-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afroborg","download_url":"https://codeload.github.com/afroborg/picsum-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246181715,"owners_count":20736610,"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":[],"created_at":"2024-12-09T17:17:00.752Z","updated_at":"2025-03-29T12:21:39.343Z","avatar_url":"https://github.com/afroborg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# picsum.photos CLI\n\n## Description\n\nThis is a CLI tool that allows you to download images from [picsum.photos](https://picsum.photos/).\n\n## Installation\n\n```bash\ngit clone https://github.com/afroborg/picsum-cli.git\ncd picsum-cli\nmake install\n```\n\nThis will install the CLI tool in `/usr/local/bin`.\n\n## Usage\n\nHelp: `picsum-cli -h`\n\n### Dimensions\n\nYou can specify the width and height of the image you want to download using the `-w` and `-h` flags.\n\n```bash\npicsum-cli -w 200 -h 200\n```\n\n### Output\n\nYou can specify the output directory using the `-d` flag, and the output file name using the `-o` flag.\n\n```bash\npicsum-cli -d /path/to/output -o image # saves the image as /path/to/output/image.jpg\n```\n\n### Format\n\nThe default format is `jpg`, but you can download a `webp` image using the `-webp` flag.\n\n```bash\npicsum-cli -webp\n```\n\n### Blur and grayscale\n\nBlur and grayscale can be applied to the image using the `-b` and `-g` flags.\n\n```bash\npicsum-cli -b 5 -g\n```\n\n\u003e Blur is a number between 0 and 10.\n\n### Seed and Id\n\nYou can specify a seed using the `-s` flag. This will generate a random image based on the seed.\n\nYou can also specify an image id using the `-id` flag. This will download the image with the specified id. Complete list of images can be found [here](https://picsum.photos/images).\n\n```bash\npicsum-cli -s 123\n```\n\n```bash\npicsum-cli -id 100\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafroborg%2Fpicsum-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafroborg%2Fpicsum-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafroborg%2Fpicsum-cli/lists"}