Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ameer1234567890/tinifier
Compress images using tinify.com API
https://github.com/ameer1234567890/tinifier
Last synced: 8 days ago
JSON representation
Compress images using tinify.com API
- Host: GitHub
- URL: https://github.com/ameer1234567890/tinifier
- Owner: ameer1234567890
- Created: 2017-07-04T10:38:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-24T12:32:43.000Z (over 2 years ago)
- Last Synced: 2024-08-01T15:36:12.045Z (3 months ago)
- Language: Shell
- Size: 31.3 KB
- Stars: 35
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![ShellCheck](https://github.com/ameer1234567890/tinifier/actions/workflows/main.yml/badge.svg)
#### Works with
* Almost any linux based shell.
* Cygwin shell on Windows.
* Git Bash on Windows.#### Requirements
* cURL
* Some patience.#### Setup Instructions
* Create a file named `.tinify_api_key` one level above the `tinifier.sh` file. This file should contain the tinify.com API key without a leading CR and/or LF.
* Create two folders named `files` and `compressed` in the same folder as `tinifier.sh`.
* Place all pictures which needs to be compressed, inside the `files` folder.
* If you are on linux, ensure that `tinifier.sh` is chmodded to `755`.
* Run `./tinifier.sh`.