Skip to content

Beautiful, user-friendly and izi to use interactive CLI to parse your images into .webp format

Notifications You must be signed in to change notification settings

BrunoHenrique00/webpizi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompts

WebPizi

Beautiful, user-friendly and izi to use interactive CLI to parse your images into .webp format
> Current modes: local and aws


split

❯ Install

$ npm install -g webpizi

split

❯ Usage

$ webpizi

Simple as that :)

split

❯ Modes

Local

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

Deep option

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.

Example with deep option

example

├── 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

AWS (Buckets)

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

split


❯ Credit

This CLI is built on top of prompts lib.

About

Beautiful, user-friendly and izi to use interactive CLI to parse your images into .webp format

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published