Yet another image server build in go
English | 简体中文
run kimg
- run with linux binary
$ wget -O- https://github.com/zhoukk/kimg/releases/download/v0.7.1/kimg_v0.7.1_linux.tar.gz | tar xf -
$ cd kimg_v0.7.1_linux
$ ./kimg
- run with docker
$ docker pull zhoukk/kimg:v0.7.1
$ docker run --rm -p 80:80 zhoukk/kimg:v0.7.1
open a browser and have fun
$ open http://localhost
Upload a image to kimg
- Upload use data-binary
- Upload use multipart-form
Fetch a image with style from kimg
$ open http://localhost/image/323551c4a7e2071a28a41331b98ca821?s=1&sm=fit&sw=300&sh=300&c=1&cw=200&ch=200
Get a image information