https://github.com/alice1017/optimoida
Command Line Application to optimize the image file by TinyPNG API
https://github.com/alice1017/optimoida
optimizer python2 tinypng-api
Last synced: about 2 months ago
JSON representation
Command Line Application to optimize the image file by TinyPNG API
- Host: GitHub
- URL: https://github.com/alice1017/optimoida
- Owner: alice1017
- Created: 2018-04-13T17:26:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-06T15:20:33.000Z (almost 6 years ago)
- Last Synced: 2025-02-15T08:25:54.392Z (3 months ago)
- Topics: optimizer, python2, tinypng-api
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# optimoida
[](http://forthebadge.com)
## :page_facing_up: Overview
The **optimoida** is a command line application to **optimize image file** (`jpg`, `png` only) by [**TinyPNG**](https://tinypng.com/)
### DEMO
[](https://asciinema.org/a/192294)
## :hourglass: Prepare to use optimoida
### 1. Get TinyPNG API Key
You have to get TinyPNG API Key at [here](https://tinypng.com/developers).
### 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
```## :pencil2: Usage
```
optimoida [PATH [PATH ...]]
```### argument
* **PATH** - The image file or directory path. allowed multiple argument.
## :inbox_tray: Installation
```
$ pip install optimoida
```or
```
$ git clone [email protected]:alice1017/optimoida.git
$ cd optimoida
$ python setup.py build install
```## :eyes: Contribution
1. Forks on [Github](https://github.com/alice1017/optimoida)
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.