{"repo":"webp-sh/webp_server_go","free":true,"listed":false,"github":"https://github.com/webp-sh/webp_server_go","clone":"git clone https://github.com/webp-sh/webp_server_go.git","description":"Go version of WebP Server. A tool that will serve your JPG/PNG/BMP/SVGs as WebP/AVIF format with compression, on-the-fly.","language":"Go","stars":2003,"topics":["webp-server","serving-images","webp","pagespeed","image-optimization","image-processing"],"license":"GPL-3.0","category":"media-processing","readme_excerpt":"Documentation Website Blog This is a Server based on Golang, which allows you to serve WebP images on the fly. Currently supported image format: JPEG, PNG, BMP, GIF, SVG, HEIC, NEF, WEBP e.g When you visit https://your.website/pics/tsuki.jpg ，it will serve as image/webp / image/avif format without changing the URL. GIF image will not be converted to AVIF format because the converted AVIF image is not animated. Usage with Docker(recommended) We strongly recommend using Docker to run WebP Server Go because running it directly with the binary may encounter issues with glibc and some dependency libraries, which can be quite tricky to resolve. This helps separate responsibilities clearly: pics stores original files, exhaust stores converted outputs, and metadata stores source metadata used for cache validation. Make sure you've got Docker and docker-compose installed, create a directory and create docker-compose.yml file inside it like this: Suppose your website and image has the following pattern. Image Path Website Path ------------------------------------- ------------------------------------ /var/www/img.webp.sh/path/tsuki.jpg https://img.webp.sh/path/tsuki.jpg Then - ./path/to/pics should be changed to /var/www/img.webp.sh - ./exhaust is cache folder for output images, by default it will be in exhaust directory alongside with docker-compose.yml file, if you'd like to keep cached images in another folder, you can change ./exhaust to /some/other/path/to/exhaust - ./metadata is ","default_branch":null,"files":null,"tree":[],"storefront":"/r/webp-sh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/webp-sh/webp_server_go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}