{"id":19216592,"url":"https://github.com/fbeline/flickr-fetcher","last_synced_at":"2026-07-14T06:31:59.107Z","repository":{"id":113361356,"uuid":"230130269","full_name":"fbeline/flickr-fetcher","owner":"fbeline","description":null,"archived":false,"fork":false,"pushed_at":"2019-12-26T22:12:23.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T15:37:43.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/fbeline.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,"zenodo":null}},"created_at":"2019-12-25T16:53:42.000Z","updated_at":"2022-09-27T19:22:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ad3728c-61b9-404b-91af-4418d0ddfcf0","html_url":"https://github.com/fbeline/flickr-fetcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fbeline/flickr-fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbeline%2Fflickr-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbeline%2Fflickr-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbeline%2Fflickr-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbeline%2Fflickr-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbeline","download_url":"https://codeload.github.com/fbeline/flickr-fetcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbeline%2Fflickr-fetcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35450066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-09T14:17:47.629Z","updated_at":"2026-07-14T06:31:59.101Z","avatar_url":"https://github.com/fbeline.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flickr-fetcher\n\nDownload images from flickr feed.\n\n## Getting Started\n\n1. Start the application: `lein run`\n2. Download images from flickr feed.\n\n```bash\ncurl -X POST http://localhost:8080/api/flickr/feed \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"limit\": 5, \"size\": {\"width\": 50, \"height\": 50}}' -v\n```\n\n3. Downloaded images default location: `{project}/flickr/photos/`\n\n## Payload attributes\n\nThere is no required attribute.\n\n| attr        |                                                                        |\n|-------------|------------------------------------------------------------------------|\n| limit       | specify the number of images to return                                 |\n| size        | specify a resize width and height, ex: `{\"width\": 120, \"height\": 120}` |\n\nlimit, size/width and size/height must be positive numbers greater than zero.\n\n## HTTP status references\n\n| status |                                                         |\n|--------|---------------------------------------------------------|\n| 200    | Success, but no images were saved.                      |\n| 201    | Success with one or more images being created.          |\n| 400    | Invalid request payload.                                |\n| 413    | No space left on disk.                                  |\n\n## Images location\n\nYou can set the enviroment variable `GALLERY_PATH` in order to choose where the\nimages will be saved.\n\n## Running the tests\n\n```\nlein test\n```\n\n## Developing\n\n1. Start a new REPL: `lein repl`\n2. Start the service in dev-mode: `(def dev-serv (run-dev))`\n3. Connect your editor to the running REPL session.\n   Re-evaluated code will be seen immediately in the service.\n\n### [Docker](https://www.docker.com/) container support\n\n1. Configure your service to accept incoming connections (edit service.clj and add  ::http/host \"0.0.0.0\" )\n2. Build an uberjar of your service: `lein uberjar`\n3. Build a Docker image: `sudo docker build -t flickr-fetcher .`\n4. Run your Docker image: `docker run -p 8080:8080 flickr-fetcher`\n\n### [OSv](http://osv.io/) unikernel support with [Capstan](http://osv.io/capstan/)\n\n1. Build and run your image: `capstan run -f \"8080:8080\"`\n\nOnce the image it built, it's cached.  To delete the image and build a new one:\n\n1. `capstan rmi flickr-fetcher; capstan build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbeline%2Fflickr-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbeline%2Fflickr-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbeline%2Fflickr-fetcher/lists"}