/cf-proxy-openai

OpenAI proxy on Cloudflare Pages

Primary LanguageTypeScript

OpenAI proxy on Cloudflare Pages

This is a Next.js project bootstrapped with c3.

To deploy on Cloudflare

Using Git Repo

  1. Click Use this template to create your own repo

  2. Login to Cloudflare

  3. Select Workers & Pages > Create Application > Pages > Connect to Git

page

  1. Select the repo you just created.

  2. In Build settings, the framework preset select Next.js. Other configurations use default options

Using CLI

npm run pages:deploy
# or
yarn pages:deploy
# or
pnpm pages:deploy
# or
bun pages:deploy