Skip to content

Image Optimization CLI for NGINX or Easy Engine based self hosted WordPress websites.

License

Notifications You must be signed in to change notification settings

ahmadawais/IMG-OPT-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IMG OPT CLI (IOC)

Image Optimization CLI for NGINX or Easy Engine based self hosted WordPress websites. Also known as IOC.

Pre Requisite

You need to install jpegoptim and OptiPNG for IOC to work.

  • jpegoptim Install it by running sudo apt-get install jpegoptim
  • OptiPNG Install it by running sudo apt-get install optipng

Install

Then install IOC by running the following command.

sudo wget -qO ioc https://git.io/vPBEG && sudo chmod +x ./ioc && sudo install ./ioc /usr/local/bin/ioc

Run

Run IOC by running the following command.

ioc

Remove & Update

To update IOC you need to remove it first and install it again (which will automatically install the latest version)

To remove run

rm -f $(which ioc)

And then finally reinstall it.

Changelog

v 1.0.0 — 2016-10-09

  • NEW: JPG optimization.
  • NEW: PNG optimization.

This open source project is maintained by the help of awesome businesses listed below. What? Read more about it →



For anything else, tweet at @MrAhmadAwais

I have released a video course to help you become a better developer — Become a VSCode Power User →



VSCode

VSCode Power User Course →

About

Image Optimization CLI for NGINX or Easy Engine based self hosted WordPress websites.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages