@syumai/go-image-proxy-worker
v0.1.0
Published
A Cloudflare Worker application which serves patched version of imageproxy
Downloads
2
Readme
go-image-proxy-worker
- A Cloudflare Worker application which serves patched version of imageproxy.
- This proxy worker supports:
- Resizing image
- Cropping image
- Convert image to jpeg / png
- Caching is not supported.
Usage
- Clone this repo and run dev server.
- Open URLs with supported ParseOptions.
- e.g. http://localhost:8787/600,fit,jpg,q80/https://r2-image-viewer.syumai.com/akiba.jpg
Requirements
This project requires these tools to be installed globally.
- Node.js
- Go 1.22.3
Development
- At first, please run
npm i
.
Commands
npm run dev # run dev server
npm run deploy # deploy worker
Author
syumai
License
MIT