{"id":20996915,"url":"https://github.com/elisalimli/python-image-resizer","last_synced_at":"2026-05-08T11:35:04.228Z","repository":{"id":191643282,"uuid":"685091166","full_name":"elisalimli/python-image-resizer","owner":"elisalimli","description":"A basic python image resizer","archived":false,"fork":false,"pushed_at":"2023-08-30T14:13:30.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T13:15:45.713Z","etag":null,"topics":["docker","dockerfile","flask","image-resize","image-resizer","image-resizing","python","service"],"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/elisalimli.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,"governance":null}},"created_at":"2023-08-30T13:52:56.000Z","updated_at":"2023-08-30T14:14:37.000Z","dependencies_parsed_at":"2023-08-30T22:44:35.345Z","dependency_job_id":"bd41e875-052e-4bcb-a531-bb8e6047d184","html_url":"https://github.com/elisalimli/python-image-resizer","commit_stats":null,"previous_names":["elisalimli/python-image-resizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elisalimli/python-image-resizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elisalimli%2Fpython-image-resizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elisalimli%2Fpython-image-resizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elisalimli%2Fpython-image-resizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elisalimli%2Fpython-image-resizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elisalimli","download_url":"https://codeload.github.com/elisalimli/python-image-resizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elisalimli%2Fpython-image-resizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32778791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["docker","dockerfile","flask","image-resize","image-resizer","image-resizing","python","service"],"created_at":"2024-11-19T07:37:57.657Z","updated_at":"2026-05-08T11:35:04.201Z","avatar_url":"https://github.com/elisalimli.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Image Resizer\n\nThis is a simple Python application that accepts image URLs, creates thumbnails, and serves the resized images using Flask.\n\n## Installation\n\nFollow these steps to set up the project on your local environment:\n\n1. Clone the project repository:\n\n    ```bash\n    git clone https://github.com/elisalimli/python-image-resizer.git\n    ```\n\n2. Navigate to the project's folder:\n\n    ```bash\n    cd python-image-resizer\n    ```\n\n3. Make sure you have Python 3 installed on your system.\n\n4. Install the required packages:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\nTo run the program, execute the following command:\n\n```bash\npython3 image_resizer.py\n```\n\nThis will start the Flask application, and you'll be able to access it through your web browser or by making HTTP requests.\n\n## Running with Docker\nAlternatively, you can use Docker to run the application in a container. Follow these steps:\n\n1. Build the docker image:\n\n    ```bash\n    docker build -t image-resizer .\n    ```\n\n2. Run the docker container:\n\n    ```bash\n    docker run --rm -it -p 4000:4000 image-resizer\n    ```\n\nThis will build the image and run the application within a Docker container. The application will be accessible at http://localhost:4000.\n\n\n## Usage Example\nAfter running the application, you can use a tool like curl to make HTTP requests to the endpoints and test the image resizing functionality.\n\nFor example, to create a thumbnail of an image, use the following command:\n\n```bash\ncurl -X GET \"http://localhost:4000/?size=256\u0026url=http://example.com/\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felisalimli%2Fpython-image-resizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felisalimli%2Fpython-image-resizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felisalimli%2Fpython-image-resizer/lists"}