{"id":20753731,"url":"https://github.com/pluf/imgx","last_synced_at":"2025-06-29T01:35:51.195Z","repository":{"id":50757727,"uuid":"307710923","full_name":"pluf/imgx","owner":"pluf","description":"A module to compress and optimize images","archived":false,"fork":false,"pushed_at":"2021-10-09T05:38:14.000Z","size":208,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T11:22:03.712Z","etag":null,"topics":["content-delivery-network","image-cdn","image-manipulation","image-processing","imgx"],"latest_commit_sha":null,"homepage":"https://imgx.viraweb123.ir/wb/","language":"PHP","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/pluf.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":"2020-10-27T13:35:01.000Z","updated_at":"2024-02-25T21:53:59.000Z","dependencies_parsed_at":"2022-09-05T20:10:59.654Z","dependency_job_id":null,"html_url":"https://github.com/pluf/imgx","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pluf%2Fimgx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pluf%2Fimgx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pluf%2Fimgx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pluf%2Fimgx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pluf","download_url":"https://codeload.github.com/pluf/imgx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251344772,"owners_count":21574602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["content-delivery-network","image-cdn","image-manipulation","image-processing","imgx"],"created_at":"2024-11-17T09:14:42.329Z","updated_at":"2025-04-28T16:27:27.314Z","avatar_url":"https://github.com/pluf.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pluf ImgX\n\nImages present a slightly complicated case when it comes to delivering the perfect variation on each \ndevice using a CDN.\nYou need to consider the image format, image dimensions, image compression, aspect ratio, and a lot more, \nwhile balancing the image's visual quality. \nTherefore, we need to have a CDN tuned for image delivery. ImgX is the solution.\n\nImgX is a regular content delivery network topped with a set of software enhancements to enhance the\nunderlying CDNs functionality for optimizing and transforming images in real-time, thereby making it\nmore suitable for image delivery.\n\nThis is the most important thing to understand about all the image CDNs out there. They are not an entirely \ndifferent content delivery network; they are built on top of existing ones with software enhancements required \nfor image optimization.\n\nThe Processing\nAs mentioned earlier, we need to add to the content delivery network the unique functionality required for modifying and optimizing the images. This processing functionality would allow you to resize images, crop them, watermark them, and apply visual effects to them.\n\nThis functionality is performed via dedicated \"processing servers,\" which are separate from the servers in the content delivery network. The processing servers are the ones doing the heavy lifting in the image CDN setup. These would always be far fewer in number than the servers in a content delivery network and localized in a few regions.\n\n## The Storage\n\nImgX optimizes and transferes on any image, even the ones that are outside of the image CDN's system.\n\nImgX comes with a storage or a media library for users to upload and manage images.\n\nThese uploaded images can be accessed via the CDN, and can be processed by the processing part of the image CDN. \n\nThis media library makes it simple to get started with using the service apart from simplifying image upload and management.\n\n## The Processing\n\nImgX adds to the content delivery network the unique functionality required for modifying and optimizing the images. \n\nThis processing functionality allow you to resize images, crop them, watermark them, and apply visual effects to them.\n\nThis functionality is performed via dedicated \"processing servers,\" which are separate from the servers in the content\ndelivery network.\n\nThe processing servers are the ones doing the heavy lifting in the image CDN setup. These would always be far fewer in\nnumber than the servers in a content delivery network and localized in a few regions.\n\n## Quick start\n\nTo run the latest versio of the ImgX execute the following command:\n\n\tdocker run \\\n\t\t-p \"80:80\" \\\n\t\t-e \"IMGX_ALLOWED_HOST=*\" \\\n\t\tviraweb/imgx:latest\n\nAnd use CURL to check the server:\n\n\tcurl \\\n\t\t--output logo-h100-w100 \\\n\t\thttp://localhost/https://viraweb123.ir/api/v2/cms/contents/logo/content?w=100\u0026h=100\n\n## Report bugs\n\nTo report a bug, make an issue on the [github](https://github.com/viraweb/imgx) project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpluf%2Fimgx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpluf%2Fimgx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpluf%2Fimgx/lists"}