blurhash cloudflare workers

This is a simple cloudflare worker that uses blurhash to generate a placeholder image for a given image url.

demo

Build wasm with rust

docker build image

docker build -t rust-wasm .

build wasm

docker run --rm -v $(pwd):/usr/src/app rust-wasm

Run server

cd worker && yarn dev