{"id":17306069,"url":"https://github.com/muffix/flickr-collage","last_synced_at":"2025-10-29T23:53:33.382Z","repository":{"id":114789176,"uuid":"137611607","full_name":"muffix/flickr-collage","owner":"muffix","description":"A simple command line interface for Flickr. It builds a collage of top-rated images for 10 search terms","archived":false,"fork":false,"pushed_at":"2018-06-17T09:02:25.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-04T13:10:34.853Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muffix.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":"2018-06-16T21:30:50.000Z","updated_at":"2018-06-17T09:02:27.000Z","dependencies_parsed_at":"2023-05-14T20:15:50.880Z","dependency_job_id":null,"html_url":"https://github.com/muffix/flickr-collage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/muffix/flickr-collage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muffix%2Fflickr-collage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muffix%2Fflickr-collage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muffix%2Fflickr-collage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muffix%2Fflickr-collage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muffix","download_url":"https://codeload.github.com/muffix/flickr-collage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muffix%2Fflickr-collage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265059509,"owners_count":23705221,"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-10-15T11:57:24.856Z","updated_at":"2025-10-29T23:53:28.073Z","avatar_url":"https://github.com/muffix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flickr Collage CLI\n\nSimple command line interface for Flickr. It builds a collage of top-rated images for 10 search terms. \n\n## Getting Started\n\nFlickr requires an API key which can be obtained in the [Account Settings](https://www.flickr.com/services/api/keys/). For tests, the key from the [API test page](https://www.flickr.com/services/api/explore/flickr.photos.search) will be good enough.\n\nThe CLI expects 10 words as the trailing positional arguments. If fewer than 10 are provided or any single one fails to return results or download, it will add a random replacement search term.\n\n### Prerequisites\n\nThis CLI depends on [Picasso](https://github.com/deiwin/picasso). To install, run \n\n```\ngo get github.com/deiwin/picasso\n```\n\nIt makes use of the word list that can be found in `/usr/share/dict/words` on Unix systems.\n\n### Installing\n\nAfter cloning the repository and installing the [prerequisites](#prerequisites), just compile the binary by running `go build collage.go` in the root directory.\n\n\n## Example\n\n```$ ./collage coffee car football watch water git computer hockey imnotagoodsearchterm\nSearching for git...\nSearching for imnotagoodsearchterm...\nSearching for computer...\nSearching for hockey...\nSearching for watch...\nSearching for football...\nSearching for water...\nSearching for car...\nSearching for coffee...\nSearching for rental...\nNothing found for imnotagoodsearchterm.\nFound photo with ID 3417057229 for git\nSearching for Buddhic...\nFound photo with ID 36441297532 for coffee\nFound photo with ID 5347580266 for computer\nFound photo with ID 35026760141 for rental\nFound photo with ID 15785619127 for watch\nFound photo with ID 16104874480 for hockey\nFound photo with ID 6769482215 for football\nFound photo with ID 9182829574 for Buddhic\nFound photo with ID 23958307713 for car\nFound photo with ID 26223084353 for water\nFound 10 photos.\n```\n\n#### Command line arguments\n\n| Argument      | Description                        | Required | Default                  |\n| ------------- |----------------------------------- | :------: | ------------------------ |\n| `--api-key`   | Flickr API key                     | Y        | Env var `FLICKR_API_KEY` |\n| `--output`    | Output path                        | N        | `collage.jpg`            |\n| `--width`     | Desired width of the collage in px | N        | 800                      |\n\n## Running the tests\n\nAfter cloning the repository and installing the [prerequisites](#prerequisites), just run `go test` in the directory of the respective package.\n\n## Built With\n\n* [Go 1.10.3 ](https://golang.org/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuffix%2Fflickr-collage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuffix%2Fflickr-collage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuffix%2Fflickr-collage/lists"}