go-imageserver is an image server which automatically optimize non webp and avif images to webp and avif images.
branch | CodeQL | Build & Test | Docker Build & Push |
---|---|---|---|
release | |||
develop |
First, install libaom and gcc as compile dependencies by sudo apt update && sudo apt install -y libaom-dev build-essential
(debian-based linux) or sudo yum update && sudo yum install -y libaom-devel gcc
(centos-based linux).
Next, clone this repo, and execute the program by go run main.go
.
docker pull ghcr.io/deltalaboratory/go-imageserver:0.1.1
and docker run -v [image volume]:/images -v [config dir]:/config -p 8000:80 ghcr.io/deltalaboratory/go-imageserver:0.1.1
upload | download |
---|---|
png | webp |
jpeg | avif |
webp | |
tiff | |
bmp | |
gif |