A lightweight Flask + JavaScript web app that lets you compress images locally on your own computer.
No data leaves your system — all processing happens on your machine for maximum speed, privacy, and control.
local-image-compressor
|
|--static
| |--index.html
|--requirements.txt
|--server.py
git clone https://github.com/meshbykartick/local-image-compressor.git
cd local-image-compressor
pip install -r requirements.txt
or, in your terminal run-
pip install flask flask-cors pillow
python server.py
You’ll see output like:
Running on http://127.0.0.1:5000
Now, open your browser and visit http://127.0.0.1:5000
You can now upload an image and then download the compressed file.