OG:Image generator
% sbt pack
% docker build -t ogimagekun .
Then deploy image to Cloud Run (or other service).
Configure wrangler.toml
and src/worker.js
for your environment.
To acquire kv namespace and get id:
% cd worker
% npx wrangler kv:namespace create OGI_WORKER
To deploy:
% npx wrangler deploy