Skip to content

AI-Dialogue-Hub/image2webp

Repository files navigation

imag2webp

建议使用Linux环境进行运行,win平台cgo支持不是很好

how to use?

$ make help
Available commands:
  make build          - Build the Go binary
  make run            - Run the application locally
  make docker-build   - Build Docker image with default settings
  make docker-build-env - Build Docker image using .env variables
  make docker-run     - Run Docker container

# run in docker
make docker-run

# test
$ curl -X POST http://localhost:10080/v1/upload   -F "image=@test.png"
Warning: Binary output can mess up your terminal. Use "--output -" to tell 
Warning: curl to output it to your terminal anyway, or consider "--output 
Warning: <FILE>" to save to a file.

About

imag2webp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published