Skip to content
Proxy that compresses images to low-resolution
JavaScript
Branch: master
Clone or download

Latest commit

Latest commit eb31b27 Mar 23, 2018

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Remove logging Nov 29, 2017
.gitignore Ignore ecosystem.js Nov 13, 2017
LICENSE Initial commit May 24, 2017
Procfile Initial commit. May 24, 2017
README.md
app.json Update Heroku app template Nov 9, 2017
package-lock.json Remove logging Nov 29, 2017
package.json Remove logging Nov 29, 2017
server.js Remove logging Nov 29, 2017

README.md

Bandwidth Hero Data Compression Service

NSP Status

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:

Deploy

Deploy to Heroku guide

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.

You can’t perform that action at this time.