{"id":16419052,"url":"https://github.com/neo-ciber94/serverless-imageprocessing","last_synced_at":"2026-04-30T03:38:27.882Z","repository":{"id":181749791,"uuid":"660472221","full_name":"Neo-Ciber94/Serverless-ImageProcessing","owner":"Neo-Ciber94","description":"Serverless application to manipulate images","archived":false,"fork":false,"pushed_at":"2023-07-17T03:21:07.000Z","size":317,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T20:48:39.366Z","etag":null,"topics":["aws-lambda","cdk","image-processing","rust","typescript"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Neo-Ciber94.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-06-30T04:59:37.000Z","updated_at":"2023-07-17T03:29:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb07c7d6-2ad0-45fe-929e-e1505ab23291","html_url":"https://github.com/Neo-Ciber94/Serverless-ImageProcessing","commit_stats":null,"previous_names":["neo-ciber94/serverless-imageprocessing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Neo-Ciber94/Serverless-ImageProcessing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-Ciber94%2FServerless-ImageProcessing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-Ciber94%2FServerless-ImageProcessing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-Ciber94%2FServerless-ImageProcessing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-Ciber94%2FServerless-ImageProcessing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Neo-Ciber94","download_url":"https://codeload.github.com/Neo-Ciber94/Serverless-ImageProcessing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-Ciber94%2FServerless-ImageProcessing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32454147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["aws-lambda","cdk","image-processing","rust","typescript"],"created_at":"2024-10-11T07:15:45.539Z","updated_at":"2026-04-30T03:38:22.872Z","avatar_url":"https://github.com/Neo-Ciber94.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless Image Processing\n\n[![CI](https://github.com/Neo-Ciber94/Serverless-ImageProcessing/actions/workflows/ci.yml/badge.svg)](https://github.com/Neo-Ciber94/Serverless-ImageProcessing/actions/workflows/ci.yml)\n\nA Rust serverless application to manipulate images deployed using AWS with CDK.\n\n## To run locally using `axum`\n\n```bash\ncargo run --features local --bin \u003cname of the binary\u003e\n```\n\nThe binaries are the 2 serverless functions: `get_image` and `post_image` for example:\n\n`cargo run --features local --bin get_image`\n\n## Features\n\n- [x] Read images from external sources\n- [x] Read images from `form-data`\n- [x] Read images from `base64` data.\n- [ ] Image operations:\n  - [x] Resize\n  - [x] Crop\n  - [x] Quality\n  - [x] Blur\n  - [x] Brightness\n  - [x] Contracts\n  - [x] Hue\n  - [x] Flip (horizontal, vertical)\n  - [x] Grayscale\n  - [x] Invert\n  - [x] Sharp (reverse blur)\n  - [ ] Change output format\n- [ ] Add swagger or postman integration\n\n## Endpoints\n\n- `GET /`\n\n  - Query parameters\n    - `source_url`: URL of the image to get.\n    - `source_base64`: The base64 encoded image.\n    - `width`: The width to resize the image to.\n    - `quality`: The quality to apply to the resulting image. (0 - 100)\n    - `brightness`: The brightness to apply to the resulting image.\n    - `contrast`: The contrast to apply to the resulting image.\n    - `hue`: The hue to recolor de image.\n    - `sharp`: The amount of sharpness to unblur the image.\n    - `flip`: \"vertical\" or \"horizontal\" value to rotate the image.\n    - `grayscale`: \"true\" or \"false\" value to grayscale the image.\n    - `crop`: The points to crop the image, this require the following separate query parameters to work:\n      - `crop_x`\n      - `crop_y`\n      - `crop_width`\n      - `crop_height`\n\n- `POST /`\n  - Body\n    - `form-data` containing the image to process.\n    - JSON body in the form: `{ \"base64_data\": \"\u003cbase64 encoded image\u003e\" }`\n  - Query parameters\n    - `source_url`: URL of the image to get.\n    - `source_base64`: The base64 encoded image.\n    - `width`: The width to resize the image to.\n    - `quality`: The quality to apply to the resulting image. (0 - 100)\n    - `brightness`: The brightness to apply to the resulting image.\n    - `contrast`: The contrast to apply to the resulting image.\n    - `hue`: The hue to recolor de image.\n    - `sharp`: The amount of sharpness to unblur the image.\n    - `flip`: \"vertical\" or \"horizontal\" value to rotate the image.\n    - `grayscale`: \"true\" or \"false\" value to grayscale the image.\n    - `crop`: The points to crop the image, this require the following separate query parameters to work:\n      - `crop_x`\n      - `crop_y`\n      - `crop_width`\n      - `crop_height`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-ciber94%2Fserverless-imageprocessing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo-ciber94%2Fserverless-imageprocessing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-ciber94%2Fserverless-imageprocessing/lists"}