tinypng-upload icon indicating copy to clipboard operation
tinypng-upload copied to clipboard

📦 Tinypng desktop application, upload compress image to server simply

tinypng upload

image

image

Size comparison before and after compression

83652a0b-1a75-4642-bcc1-cbe7911a4a1f

Usage

1. Download

First, clone this project and run locally:

git clone 
cd tinypng-upload
npm i
npm run build

After that, you will be able to find an executable program in the build folder. And then run it.

2. Configuring tinypng API key

tinypng-uploaduse tinypng API to compress image,So you need to register an API Key in tinypng.

Then add this API key to settings:

3. Configuring upload request

If you need to upload pictures to the server, you must configure these options.

Property Decription Type Default
action Upload request URL, required. String -
headers Upload request header. Object {}
data Extra data with upload request. Object {}
name The key in upload request targeting to the file. String file
with-credentials Enable certification info in Cookie or not. Boolean false