{"id":16629298,"url":"https://github.com/m-zubairahmed/hoe","last_synced_at":"2026-04-09T18:03:01.276Z","repository":{"id":134886771,"uuid":"132732232","full_name":"M-ZubairAhmed/HOE","owner":"M-ZubairAhmed","description":"An image cropping and printing tool","archived":false,"fork":false,"pushed_at":"2018-05-23T03:15:50.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T05:14:55.875Z","etag":null,"topics":["cropperjs","reactjs"],"latest_commit_sha":null,"homepage":"https://image-hoe.netlify.app/","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/M-ZubairAhmed.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-05-09T09:16:41.000Z","updated_at":"2020-09-28T15:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"38cc6950-1bf6-4370-9fbf-0afe55e64754","html_url":"https://github.com/M-ZubairAhmed/HOE","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-ZubairAhmed%2FHOE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-ZubairAhmed%2FHOE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-ZubairAhmed%2FHOE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/M-ZubairAhmed%2FHOE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/M-ZubairAhmed","download_url":"https://codeload.github.com/M-ZubairAhmed/HOE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243076448,"owners_count":20232433,"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":["cropperjs","reactjs"],"created_at":"2024-10-12T04:40:35.826Z","updated_at":"2025-12-31T00:53:06.708Z","avatar_url":"https://github.com/M-ZubairAhmed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://i.imgur.com/55xMnX3t.jpg\"/\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eHOE\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003eAn image cropping and printing tool\u003c/h4\u003e\n\n\u003e Meaning :- verb :\n\u003e use a hoe to dig (earth) or thin out or dig up (plants).\n\n#### Goal:\n\nCreate a react input component that\n\n* allows a user to upload an image\n* crop it to a size determined by the user\n* save the cropped image to an API\n* view the saved image\n* print the image\n\n#### Requirements:\n\n* [x] The maximum file size of the initial uploaded image should be 1mb\n* [x] The maximum image dimensions after cropping should be 800x100\n* [x] upload the image so using the following code and use the returned URL for previewing the image:\n  ```Javascript\n  function saveImage(imageFile) {\n    return Promise.resolve(\"http://lorempixel.com/800/100/cats/\");  \n  }\n  ```\n\n- [x] The input should be clearable\n- [x] no image is a valid value\n- [x] There should be a button called \"Print Preview\". When clicked it should open a new tab, print a page which has the new image centered at the top, and then close the tab after printing\n- [x] If no image has been saved then the print button should be disabled\n- [x] The displayed image in print preview should be no higher than 100px.\n\n#### Flow Diagram :\n\n![flow-1](https://user-images.githubusercontent.com/17708702/35199466-0245f4f2-ff24-11e7-9445-b5f5cd72b1c8.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-zubairahmed%2Fhoe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-zubairahmed%2Fhoe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-zubairahmed%2Fhoe/lists"}