{"id":19143262,"url":"https://github.com/devenes/image-resizing-service","last_synced_at":"2026-05-03T20:38:22.844Z","repository":{"id":38016172,"uuid":"496400963","full_name":"devenes/image-resizing-service","owner":"devenes","description":"A simple image resizing service accepts HTTP GET or POST, with two parameters","archived":false,"fork":false,"pushed_at":"2022-06-11T23:54:27.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-27T02:47:18.522Z","etag":null,"topics":["api","flask","get","post","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/devenes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-25T21:54:19.000Z","updated_at":"2022-06-11T23:56:48.000Z","dependencies_parsed_at":"2022-09-14T01:01:59.292Z","dependency_job_id":null,"html_url":"https://github.com/devenes/image-resizing-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devenes/image-resizing-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devenes%2Fimage-resizing-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devenes%2Fimage-resizing-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devenes%2Fimage-resizing-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devenes%2Fimage-resizing-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devenes","download_url":"https://codeload.github.com/devenes/image-resizing-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devenes%2Fimage-resizing-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32584628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","flask","get","post","python"],"created_at":"2024-11-09T07:30:09.518Z","updated_at":"2026-05-03T20:38:22.829Z","avatar_url":"https://github.com/devenes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eImage Resizing Service\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Github top language\" src=\"https://img.shields.io/github/languages/top/devenes/image-resizing-service?color=blue\"\u003e\n  \u003cimg alt=\"Github language count\" src=\"https://img.shields.io/github/languages/count/devenes/image-resizing-service?color=red\"\u003e\n  \u003cimg alt=\"Repository size\" src=\"https://img.shields.io/github/repo-size/devenes/image-resizing-service?color=purple\"\u003e\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/devenes/image-resizing-service?color=pink\"\u003e\n  \u003c!-- \u003cimg alt=\"Github issues\" src=\"https://img.shields.io/github/issues/devenes/image-resizing-service?color=56BEB8\" /\u003e --\u003e\n  \u003c!-- \u003cimg alt=\"Github forks\" src=\"https://img.shields.io/github/forks/devenes/image-resizing-service?color=56BEB8\" /\u003e --\u003e\n  \u003c!-- \u003cimg alt=\"Github stars\" src=\"https://img.shields.io/github/stars/devenes/image-resizing-service?color=56BEB8\" /\u003e --\u003e\n\u003c/p\u003e\n\n\u003c!-- Status --\u003e\n\n\u003c!-- \u003ch4 align=\"center\"\u003e\n\t🚧  Image Resizing Service 🚀 Under construction...  🚧\n\u003c/h4\u003e\n\n\u003chr\u003e --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#dart-about\"\u003eAbout\u003c/a\u003e \u0026#xa0; | \u0026#xa0;   \n  \u003ca href=\"#rocket-technologies\"\u003eTechnologies\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"#white_check_mark-requirements\"\u003eRequirements\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"#checkered_flag-starting\"\u003eStarting\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"#memo-license\"\u003eLicense\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"https://github.com/devenes\" target=\"_blank\"\u003eAuthor\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## :dart: About\n\nA simple image resizing service accepts HTTP GET or POST, with two parameters:\n\n- urlBase64: Base64 encoded URL\n- size: size of a square bounding box, in pixels\n  Returns the resized image, or an image of the original size if size is less than the original size\n\n## :rocket: Technologies\n\nThe following tools were used in this project:\n\n- [Python](https://www.python.org/)\n- [gunicorn](https://gunicorn.org/)\n- [Flask](https://flask.palletsprojects.com/)\n- [Pillow](https://pillow.readthedocs.io/)\n\n## :white_check_mark: Requirements\n\nBefore starting :checkered_flag:, you need to have [Git](https://git-scm.com) and [Python](https://www.python.org/) installed.\n\n## :checkered_flag: Starting\n\n```bash\n# Clone this project\ngit clone https://github.com/devenes/image-resizing-service\n```\n\n```bash\n# Access\ncd image-resizing-service\n```\n\n```bash\n# Install dependencies\npip install -r requirements.txt\n```\n\n```bash\n# Run the service\npython image_resizer.py\n```\n\n- Try it out locally (see note below on dependencies)\n\n```bash\n# Get a base64 encoded version of an image URL:\necho -n \"http://storage.googleapis.com/myBucketName/Image_Name.jpg\" | base64\n# Use curl to access the service, providing that base64 encoded URL value:\ntime curl http://localhost:18080/?size=800\u0026urlBase64=aHR0cDovL3N0b3J...bi5qcGc= \u003e output.jpg\n```\n\n- Installation of dependencies, for running locally (Ubuntu)\n\n```bash\nsudo apt-get build-dep python-imaging\nsudo apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev\nsudo apt-get install python-pip\nsudo pip install Pillow\n```\n\n- Run the service in a Docker container\n\n```bash\ndocker run --rm -i -t -d -p 8080:18080 image/name\n```\n\n- Run on Cloud\n\n```bash\n# Edit ./manifest.yml to suit your application\ncf push\ncf open\n```\n\n## :memo: License\n\nThis project is under license from MIT. For more details, see the [LICENSE](LICENSE.md) file.\n\nMade with :heart: by \u003ca href=\"https://github.com/devenes\" target=\"_blank\"\u003edevenes\u003c/a\u003e\n\n\u0026#xa0;\n\n\u003ca href=\"#top\"\u003eBack to top\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevenes%2Fimage-resizing-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevenes%2Fimage-resizing-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevenes%2Fimage-resizing-service/lists"}