GitDeployHub

davideuler/openai-claude-proxy

github.com/davideuler/openai-claude-proxy ↗
Python
6 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • LOG_CHAT LOG_CHAT: 是否Log 对话记录
  • OPENAI_BASE_URL secret
  • OPENAI_API_KEY secret OPENAI_API_KEY:允许输入多个api key 形成轮询池
  • FORWARD_KEY secret FORWARD_KEY: 当前面的OPENAI_API_KEY被设置,就可以设置这里的FORWARD_KEY,客户端调用时可以使用FORWARD_KEY作为api key
  • ROUTE_PREFIX ROUTE_PREFIX: 可指定整个转发服务的根路由前缀
  • TZ 设定时区
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/davideuler/openai-claude-proxy
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/davideuler/openai-claude-proxy
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/davideuler/openai-claude-proxy
Or deploy to a different host
← Try another repo