Giter Site home page Giter Site logo

bandwidth-hero-proxy2's Introduction

Bandwidth Hero Data Compression Service

Serverless port of Bandwidth Hero Data Compression Service 🚀.

Deploy your own functions in less than a minute, read the #Deployment section.

एक मिनट से भी कम समय में इसे deploy करें , उस के लिए #Deployment अनुभाग पढ़ें।

Currently using Netlify functions, which has a genorous limit of calls you can make, mostly enough for personal use, or small scale use, for faster and much more users, a dedicated server (code on original repo) maybe preferable :D

The original and this fork, both are, data compression service used by Bandwidth Hero browser extension. It compresses (optionally grayscale) given image to low-res WebP or JPEG image.

It downloads original image and transforms it with Sharp on the fly without saving images on disk.

Benefits - It's faster for initial requests, as it doesn't require restarting a sleeping heroku server deployment, also, you may benefit from a better ping (in my case it is such)

Note: It downloads images on user's behalf (By passing in same headers to the domain with required image), passing cookies and user's IP address through to the origin host.

Deployment

I can't provide you with my deployment, since I have the free tier, and that has it's limits.

You need to deploy the functions to Netlify:

Deploy

Then, in the Data Compression Service in Bandwidth Hero extension, add https://your-netlify-domain.netlify.app/api/index, and you are good to go.

bandwidth-hero-proxy2's People

Contributors

ayastreb avatar adi-g15 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.