All Projects → webp-sh → Webp_server_go

webp-sh / Webp_server_go

Licence: gpl-3.0
Go version of WebP Server. A tool that will serve your JPG/PNGs as WebP format with compression, on-the-fly.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Webp server go

yoga-image-optimizer
A graphical tool to convert and optimize JPEG, PNG and WebP images (based on YOGA)
Stars: ✭ 85 (-84.35%)
Mutual labels:  webp
Gulp Tutorial
Code examples for my Gulp.js tutorial series
Stars: ✭ 383 (-29.47%)
Mutual labels:  webp
Nginx Autoinstall
Compile Nginx from source with custom modules on Debian and Ubuntu
Stars: ✭ 443 (-18.42%)
Mutual labels:  pagespeed
Webp
WebP decoder and encoder for Go (Zero Dependencies).
Stars: ✭ 270 (-50.28%)
Mutual labels:  webp
Imaginary
Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
Stars: ✭ 4,107 (+656.35%)
Mutual labels:  webp
Pinremoteimage
A thread safe, performant, feature rich image fetcher
Stars: ✭ 3,929 (+623.57%)
Mutual labels:  webp
AND-WebP
A native implementation of WebP codec for devices before ICS.
Stars: ✭ 25 (-95.4%)
Mutual labels:  webp
Glidewebpdecoder
A Glide WebpDecoder Intergration Library for decoding and displaying webp images
Stars: ✭ 484 (-10.87%)
Mutual labels:  webp
Sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
Stars: ✭ 21,131 (+3791.53%)
Mutual labels:  webp
Govips
A lightning fast image processing and resizing library for Go
Stars: ✭ 442 (-18.6%)
Mutual labels:  webp
Zooshi
Multi-platform game where you feed well dressed animals with sushi
Stars: ✭ 281 (-48.25%)
Mutual labels:  webp
Piexif
Exif manipulation with pure python script.
Stars: ✭ 290 (-46.59%)
Mutual labels:  webp
Mort
Storage and image processing server written in Go
Stars: ✭ 420 (-22.65%)
Mutual labels:  webp
Picview
Fast Picture Viewer with compact UI, that can be hidden. Features image effects, galleries, image info and more. The app can automatically adjusts itself to your screen.
Stars: ✭ 259 (-52.3%)
Mutual labels:  webp
Incubator Pagespeed Ngx
Automatic PageSpeed optimization module for Nginx
Stars: ✭ 4,327 (+696.87%)
Mutual labels:  pagespeed
WebPKit
A framework that extends a variety of Cocoa APIs with capabilities for encoding and decoding WebP files for all of Apple's platforms.
Stars: ✭ 29 (-94.66%)
Mutual labels:  webp
Imagebutter
Makes dealing with images buttery smooth.
Stars: ✭ 395 (-27.26%)
Mutual labels:  webp
Metadata Extractor Dotnet
Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Stars: ✭ 518 (-4.6%)
Mutual labels:  webp
Webponize
macOS application that converts images to WebP.
Stars: ✭ 477 (-12.15%)
Mutual labels:  webp
Automator Workflows
A collection of Automator workflows (services) that speed up your design / development process. Compatible with LaunchBar 6 and 7 Actions
Stars: ✭ 439 (-19.15%)
Mutual labels:  webp

codecov

Documentation | Website

This is a Server based on Golang, which allows you to serve WebP images on the fly. It will convert jpg,jpeg,png files by default, this can be customized by editing the config.json..

  • currently supported image format: JPEG, PNG, BMP, GIF(static image for now)

e.g When you visit https://your.website/pics/tsuki.jpg,it will serve as image/webp format without changing the URL.

For Safari and Opera users, the original image will be used. We've now support Safari/Chrome/Firefox on iOS 14/iPadOS 14

Simple Usage Steps

1. Download or build the binary

Download the webp-server from release page.

2. Dump config file

./webp-server -dump-config > config.json

The default config.json may look like this.

{
	"HOST": "127.0.0.1",
	"PORT": "3333",
	"QUALITY": "80",
	"IMG_PATH": "/path/to/pics",
	"EXHAUST_PATH": "/path/to/exhaust",
	"ALLOWED_TYPES": ["jpg","png","jpeg"]
}

Config Example

In the following example, the image path and website URL.

Image Path Website Path
/var/www/img.webp.sh/path/tsuki.jpg https://img.webp.sh/path/tsuki.jpg

The config.json should be like:

IMG_PATH
/var/www/img.webp.sh

EXHAUST_PATH is cache folder for output webp images, with EXHAUST_PATH set to /var/cache/webp in the example above, your webp image will be saved at /var/cache/webp/pics/tsuki.jpg.1582558990.webp.

3. Run

./webp-server --config=/path/to/config.json

4. Nginx proxy_pass

Let Nginx to proxy_pass http://localhost:3333/;, and your webp-server is on-the-fly.

Advanced Usage

For supervisor, Docker sections, please read our documentation at https://docs.webp.sh/

License

WebP Server is under the GPLv3. See the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].