This repository contains the Cimo WordPress plugin, which automatically converts uploaded images to WebP format for improved performance.
- Node.js v18 or higher
- npm v9 or higher
- PHP 8.2+ (for AVIF support, PHP 8.3+ recommended)
- WordPress
npm start– Development build with watch modenpm run build– Production buildnpm run lint:js– Lint JavaScriptnpm run format– Format code with Prettier
src/admin/index.js– Admin-side scriptssrc/editor/index.js– Editor-side scriptssrc/frontend/index.js– Frontend scriptsbuild/– Compiled output
This plugin is licensed under the GPL v2 or later.
- AVIF support requires Imagick with AVIF enabled. Not all local PHP environments (e.g., Local by Flywheel with PHP 8.2) support AVIF. PHP 8.3+ is recommended for full compatibility.