Giter VIP home page Giter VIP logo

bunny-image-optimizer-worker's Introduction

Bunny Image Optimizer Cloudflare Worker

Rewrites your images on the fly using Cloudflare Workers® using the Bunny Dynamic Image Processing service.

Currently supports only WordPress, more coming soon.

Current features

  • Rewrites all src and srcset tags.
  • Rewrites all div tags with style, data-ultimate-bg, data-image-id attributes and more.
  • Rewrites all link tags for icons (apple-touch-icon, etc.).
  • Rewrites all special/extra data-src, data-srcset, data-lazyload attributes and more.
  • Rewrites all href tags for light boxes/image viewers.
  • Rewrites all background image url's for all inline CSS.
  • Rewrites all background image url's for all external CSS.
  • BONUS: Removes empty SVG tags added by WordPress for no reason.
  • BONUS: Rewrites all src and srcset tags in Ajax requests.
  • BONUS: Supports multiple WordPress websites under the same Worker.

Assistance

In your are in immediate need of commercial help/advice/assistance, I can offer you my assistance for a small fee. Please do contact me via my the consultation page or if you cannot do so open an issue.

Contribution

Feel free to contribute with your own functions/methods. Just make sure you tested it properly, otherwise your changes will not be approved.

Support me

Buy me a coffee to give me more energy and write more code :)

bunny-image-optimizer-worker's People

Contributors

mecanik 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.