Beautiful, user-friendly and izi to use interactive CLI to parse your images into .webp format
> Current modes: local and aws
$ npm install -g webpizi
$ webpizi
Simple as that :)
The local mode means that you want to parse images that are in you machine, once you parse then to webp they will be stored in the same directory but with .webp
Once you accept this option, this mean that any folder inside the directory you wanna parse webpizi will look for and parse images as well.
├── images
│ ├── moreImages
│ │ ├── cat.png
│ ├── dog.png
│ ├── foo.png
├── public
│ ├── css
│ │ ├── **/*.css
│ ├── images
│ │ ├── pig.png
│ │ ├── lion.png
│ ├── js
│ ├── index.html
Will turn into something like this:
├── images
│ ├── moreImages
│ │ ├── cat.png
│ │ ├── cat.webp
│ ├── dog.png
│ ├── dog.webp
│ ├── foo.png
│ ├── foo.webp
├── public
│ ├── css
│ │ ├── **/*.css
│ ├── images
│ │ ├── pig.png
│ │ ├── lion.png
│ ├── js
│ ├── index.html
The AWS mode means that you want to parse images that are in AWS cloud, more precisely on buckets. To start with, select your profile and the region of the bucket you wanna parse, then select which bucket you wanna parse the images. All images inside the bucket will be parsed into .webp format with the same name.
Credentials: To use this feature, make sure that your credentials/profiles are configured! Please take a look at this guide AWS Credentials
This CLI is built on top of prompts lib.