alice1017 / optimoida

Command Line Application to optimize the image file by TinyPNG API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

optimoida

forthebadge

๐Ÿ“„ Overview

The optimoida is a command line application to optimize image file (jpg, png only) by TinyPNG

DEMO

asciicast

โŒ› Prepare to use optimoida

1. Get TinyPNG API Key

You have to get TinyPNG API Key at here.

2. Write optimoida.ini

Please write API Key you got to optimoida.ini. And move optimoida.ini to ~/.optimoida.ini

$ mv optimoida.ini ~/.optimoida.ini

โœ๏ธ Usage

optimoida [PATH [PATH ...]]

argument

  • PATH - The image file or directory path. allowed multiple argument.

๐Ÿ“ฅ Installation

$ pip install optimoida

or

$ git clone git@github.com:alice1017/optimoida.git
$ cd optimoida
$ python setup.py build install

๐Ÿ‘€ Contribution

  1. Forks on Github
  2. Find a bug? Send a pull request to get it merged and published.

CHANGELOG

1.1.0 - Changes around the log message

  • Appended a file size information.
  • Changed the file path from abspath to filename only.

About

Command Line Application to optimize the image file by TinyPNG API


Languages

Language:Python 100.0%