{"id":24317418,"url":"https://github.com/fetchandadd/ipms","last_synced_at":"2026-05-09T07:34:15.385Z","repository":{"id":143731332,"uuid":"88832867","full_name":"fetchandadd/ipms","owner":"fetchandadd","description":"Image processing microservice","archived":false,"fork":false,"pushed_at":"2017-04-26T11:05:50.000Z","size":19,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T16:44:44.446Z","etag":null,"topics":["docker","image-processing","imagemagick","lua","microservice","nginx","openresty"],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/fetchandadd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-04-20T07:12:38.000Z","updated_at":"2024-09-03T09:54:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d5679e0-d076-4a1b-a337-6340dfb37b15","html_url":"https://github.com/fetchandadd/ipms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fetchandadd/ipms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fipms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fipms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fipms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fipms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fetchandadd","download_url":"https://codeload.github.com/fetchandadd/ipms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchandadd%2Fipms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32811479,"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":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["docker","image-processing","imagemagick","lua","microservice","nginx","openresty"],"created_at":"2025-01-17T13:39:39.544Z","updated_at":"2026-05-09T07:34:15.381Z","avatar_url":"https://github.com/fetchandadd.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipms\nImage processing microservice\n\n## API\n\nFor the following examples [HTTPie](https://httpie.org/) is used to manage HTTP connections.\n\n### Basic commands\n\nIpms provides the following basic commands. A command consist of a path fragment (e.g. `rotate`) and a GET parameter (e.g. `degrees`). The path fragment triggers the execution of the specific command and the GET parameter delivers the value. \n\nA request `/rotate?degrees=90` can be seen as a function call `rotate(\u003cimage\u003e, degrees=90)`.\n\n#### Blur\n\n* Blur the image with sigma=20 and radius=50\n\n```bash\nhttp localhost:8080/v1/imagemagick/blur sigma==20 radius==50 \u003c source.jpg \u003e target.png\n```\n\n#### Format\n\n* Format set to PNG\n\n```bash\nhttp localhost:8080/v1/imagemagick/format format==png \u003c source.jpg \u003e target.png\n```\n\n#### Quality\n\n* Quality set to 95%\n\n```bash\nhttp localhost:8080/v1/imagemagick/quality quality==95 \u003c source.jpg \u003e target.jpg\n```\n\n#### Rotate\n\n* Rotate the image to 90° (clockwise)\n\n```bash\nhttp localhost:8080/v1/imagemagick/rotate degrees==90 \u003c source.jpg \u003e target.jpg\n```\n\n#### Thumb\n\n* Crop to 500 by 300 at position 10,20\n\n```bash\nhttp localhost:8080/v1/imagemagick/thumb size==500x300+10+20 \u003c source.jpg \u003e target.jpg\n```\n\n### Combine multiple commands\n\nCommands will be executed from left to right. E.g. a request `/thumb/rotate?size=500x300+10+20\u0026degrees=90` translates to `rotate(thumb(\u003cimage\u003e, size=500x300+10+20), degrees=90)`.\n\n#### Thumb + Rotate\n\n* Crop to 500 by 300 at position 10,20\n* Rotate the image to 90° (clockwise)\n\n```bash\nhttp localhost:8080/v1/imagemagick/thumb/rotate size==500x300+10+20 degrees==90 \u003c source.jpg \u003e target.jpg\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetchandadd%2Fipms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffetchandadd%2Fipms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetchandadd%2Fipms/lists"}