๐ The template to deploy an openai api proxy to Cloudflare Workers. The src/index.ts
file contains the route definitions of Reflare. The documentation of Reflare can be found here.
Install wrangler
CLI and authorize wrangler
with Cloudflare account.
npm install -g wrangler
wrangler login
- Run
npm run dev
(neednpm run build
at first time) to preview openai-proxy with local development server provided by Miniflare. - Run
npm run deploy
to publish Reflare on Cloudflare Workers.