Skip to content

ameer1234567890/tinifier

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

ShellCheck

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.

About

Compress images using tinify.com API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages