Bandwidth hero proxy
:zap: Proxy that compresses images to low-resolution
This data compression service is used by [Bandwidth Hero](https://github.com/ayastreb/bandwidth-hero) browser extension. It compresses given image to low-res [WebP](https://developers.google.com/speed/webp/) or JPEG image. Optionally it also converts image to greyscale to save even more data. The project is written primarily in JavaScript, distributed under the MIT License license, first published in 2017. Key topics include: compression, compression-proxy-server, data-compression, data-saving, express.
Bandwidth Hero Data Compression Service
This data compression service is used by
Bandwidth Hero browser extension. It compresses given
image to low-res WebP or JPEG image. Optionally it also
converts image to greyscale to save even more data.
It downloads original image and transforms it with Sharp on the
fly without saving images on disk.
This is NOT an anonymizing proxy — it downloads images on user's behalf, passing cookies
and user's IP address through to the origin host.
Deployment
Heroku
You can deploy this service to Heroku:
Self-hosted
Data compression service is a Node.js app which you can run on any server that supports Node.js.
Check out
this guide
on how to setup Node.js on Ubuntu.
DigitalOcean also provides an
easy way to setup a server ready to
host Node.js apps.
Contributors
Showing top 2 contributors by commit count.

