Giter Club home page Giter Club logo

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.

supkelelawar's Projects

androidassetstudio icon androidassetstudio

A set of web-based tools for generating graphics and other assets that would eventually be in an Android application's res/ directory.

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.