Skip to content

apcros/Lighmblr

Repository files navigation

Lighmblr

Introduction

This code came from a simple constatation : Browsing a "reaction tumblr" (Like lesjoiesducode.fr ) from a smartphone / 3G is close to impossible because of how heavy theses gifs can be.

This should support all the tumblrs with gifs in post (as it's now using the Tumblr API)

Process

The process is fairly simple :

  • Fetch gifs and title from the tumblr
  • If the compressed version of the gif is not available in the cache, it launch a compression
  • The output is shown to the user

When you access a page where none of the gifs are cache, it can take up to a minute to load the page, otherwise it's as fast as any other PHP script.

Libraries :

About

Compress gifs on the go for Reactions Tumblrs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published