{"id":19098063,"url":"https://github.com/swissup/module-wsrv","last_synced_at":"2025-04-30T15:25:00.376Z","repository":{"id":210046304,"uuid":"725518394","full_name":"swissup/module-wsrv","owner":"swissup","description":"Magento image optimization using https://wsrv.nl service","archived":false,"fork":false,"pushed_at":"2023-12-02T21:28:07.000Z","size":100,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T15:24:57.406Z","etag":null,"topics":["image-cdn","image-optimization","magento2-module"],"latest_commit_sha":null,"homepage":"","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/swissup.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":"2023-11-30T10:08:02.000Z","updated_at":"2024-12-21T15:43:39.000Z","dependencies_parsed_at":"2023-11-30T14:28:17.327Z","dependency_job_id":"6debf5ff-9f73-4e31-96cb-a3034de22bc1","html_url":"https://github.com/swissup/module-wsrv","commit_stats":null,"previous_names":["swissup/module-wsrv"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swissup%2Fmodule-wsrv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swissup%2Fmodule-wsrv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swissup%2Fmodule-wsrv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swissup%2Fmodule-wsrv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swissup","download_url":"https://codeload.github.com/swissup/module-wsrv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251730334,"owners_count":21634363,"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":["image-cdn","image-optimization","magento2-module"],"created_at":"2024-11-09T03:44:01.252Z","updated_at":"2025-04-30T15:25:00.357Z","avatar_url":"https://github.com/swissup.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swissup_Wsrv\n\nSwissup_Wsrv — is a Magento image optimization module that uses free\n[wsrv.nl](https://wsrv.nl/) service to resize and convert images to webp format.\n\n\u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"./media/dark.webp\"\u003e\n    \u003cimg alt=\"Screenshot with image src demonstration\" src=\"./media/light.webp\" width=\"825\"\u003e\n\u003c/picture\u003e\n\n## Installation\n\n```bash\ncomposer require swissup/module-wsrv\nbin/magento module:enable Swissup_Wsrv\n```\n\n## How it works\n\n\u003e [!IMPORTANT]\n\u003e Since [wsrv.nl](https://wsrv.nl/) will serve your images, your site must\n\u003e be accessible for the service.\n\u003e Eg. no `.htaccess` restrictions, no locally served domains or IP addresses.\n\nThe module replaces all image links with the links to wsrv.nl:\n\n```html\n\u003c!-- Before --\u003e\n\u003cimg src=\"https://breeze.swissupdemo.com/media/catalog/product/w/s/wsh12-green_main_1.jpg?width=325\u0026height=325\"/\u003e\n\n\u003c!-- After --\u003e\n\u003cimg src=\"//wsrv.nl?url=breeze.swissupdemo.com/media/catalog/product/w/s/wsh12-green_main_1.jpg\u0026w=325\u0026h=325\u0026output=webp\u0026fit=contain\u0026cbg=fff\"/\u003e\n```\n\nThat's all. The rest of the job is handled by [wsrv.nl](https://wsrv.nl/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswissup%2Fmodule-wsrv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswissup%2Fmodule-wsrv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswissup%2Fmodule-wsrv/lists"}