{"id":16772716,"url":"https://github.com/antga/flaskimageconverter","last_synced_at":"2026-04-16T03:33:14.690Z","repository":{"id":254537945,"uuid":"846824290","full_name":"AntGa/FlaskImageConverter","owner":"AntGa","description":"FlaskImageConverter is a deployed webapp used to convert images to other formats such as webP.","archived":false,"fork":false,"pushed_at":"2024-08-27T08:37:59.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-14T11:51:39.680Z","etag":null,"topics":["css","docker","flask","google-cloud-run","html"],"latest_commit_sha":null,"homepage":"https://image-converter-lcllk5qn2a-ts.a.run.app","language":"HTML","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/AntGa.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":"2024-08-24T04:04:33.000Z","updated_at":"2024-09-30T23:33:13.000Z","dependencies_parsed_at":"2024-11-22T16:10:30.492Z","dependency_job_id":"6e4777ba-2cf6-4fb0-88fe-2084b9b5ff06","html_url":"https://github.com/AntGa/FlaskImageConverter","commit_stats":null,"previous_names":["antga/flaskimageconverter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AntGa/FlaskImageConverter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntGa%2FFlaskImageConverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntGa%2FFlaskImageConverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntGa%2FFlaskImageConverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntGa%2FFlaskImageConverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AntGa","download_url":"https://codeload.github.com/AntGa/FlaskImageConverter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntGa%2FFlaskImageConverter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":["css","docker","flask","google-cloud-run","html"],"created_at":"2024-10-13T06:43:44.645Z","updated_at":"2026-04-16T03:33:14.660Z","avatar_url":"https://github.com/AntGa.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Image Converter\nThis is a test project created in 2024. Its purpose is to convert uploaded images to the WebP format using the Flask web framework and the Pillow library. This project also helped me learn continuous deployment using Docker, GitHub Actions, and Google Cloud Run. The image converter functionality is aimed at supporting other projects by efficiently handling image conversion needs without the needs of credits.\n## Technologies used\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-FFD43B?style=for-the-badge\u0026logo=python\u0026logoColor=blue\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Flask-000000?style=for-the-badge\u0026logo=flask\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge\u0026logo=html5\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge\u0026logo=css3\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/JavaScript-323330?style=for-the-badge\u0026logo=javascript\u0026logoColor=F7DF1E\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Github%20Actions-282a2e?style=for-the-badge\u0026logo=githubactions\u0026logoColor=367cfe\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge\u0026logo=docker\u0026logoColor=white\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Google_Cloud-4285F4?style=for-the-badge\u0026logo=google-cloud\u0026logoColor=white\"/\u003e\n\u003c/div\u003e\n\n## Getting started\nTo run this Flask image converter application locally, follow these steps:\n**1. Clone this repository**\n```bash\ngit clone https://github.com/your-username/flask-image-converter.git\ncd flask-image-converter\n```\n**2. Set up a virtual environment and install dependencies:**\n```\npython3 -m venv venv\nsource venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\npip install -r requirements.txt\n```\n**3. Run the development server:**\n```\nflask run\n```\n**4. Open the application in your browser**\nVisit http://localhost:5000 to access the image converter interface.\n\n## Using the Image Converter\n### Open the Application\n- Navigate to http://localhost:8080 in your web browser to access the image converter interface.\n### Upload Images\n- Drag and Drop: Drag and drop image files into the drop zone area.\n- Select Files: Alternatively, click on the file input to select multiple image files from your file system. You can upload up to 5 images at a time, each with a maximum size of 20MB.\n### Select Format\nChoose the desired format for conversion from the dropdown menu:\n- WebP\n- JPEG\n- PNG\n\n### Select Quality\n\nAdjust the quality of the output images using the slider. The quality ranges from 1 (lowest) to 100 (highest). This option is available for WebP and JPEG formats.\nConvert Images\n\nClick the Convert button to start the conversion process.\nDownload the Results\n\nIf only one image is uploaded, the converted image will be downloaded automatically.\nIf multiple images are uploaded, a ZIP file containing all converted images will be downloaded.\n\n## Error Handling\nRate Limiting: To prevent spam, the server limits requests to one every 5 seconds from the same IP address.\nFile Size and Type Checks: Ensure each file is less than 20MB and is a valid image format (JPEG, PNG, WebP). Errors will be displayed if the constraints are not met.\n\n## Deployment\nThe application is designed to be deployed using Docker and managed through GitHub Actions for CI/CD. It can be easily deployed to Google Cloud Run for scalable, serverless deployment. (Not that it's meant to this was more of a test)\n\n- Docker: Containerize the application for consistent and isolated environments.\n- GitHub Actions: Automate the deployment pipeline.\n- Google Cloud Run: Run the application in a scalable, serverless environment.\n\n## Screenshots\n![image](https://github.com/user-attachments/assets/8a8506fa-faf1-4f7c-b858-303dd1b462eb)\n\n## Icons used\n[Badges4Readme](https://github.com/alexandresanlim/Badges4-README.md-Profile) - alexandresanlim\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantga%2Fflaskimageconverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantga%2Fflaskimageconverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantga%2Fflaskimageconverter/lists"}