GitDeployHub

wangrongding/wechat-bot

github.com/wangrongding/wechat-bot ↗
Docker
20 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)

  • OPENAI_API_KEY secret OpenAi 的api key, 去 https://beta.openai.com/account/api-keys 中生成一个即可,OPENAI_MODEL不填则默认gpt-4o,OPENAI_SYSTEM_MESSAGE为默认角色设定
  • OPENAI_PROXY_URL secret
  • OPENAI_MODEL secret
  • OPENAI_SYSTEM_MESSAGE secret
  • DOUBAO_API_KEY secret doubao, model和api-key, 去 https://console.volcengine.com/ark/apiKey
  • DOUBAO_URL
  • DOUBAO_MODEL
  • DEEPSEEK_API_KEY secret deepseek, model和api-key, 去 https://platform.deepseek.com/usage 或者 https://cloud.siliconflow.cn/models…
  • DEEPSEEK_URL
  • DEEPSEEK_MODEL
  • DEEPSEEK_SYSTEM_MESSAGE
  • KIMI_API_KEY secret Kimi 的api key, 去 https://platform.moonshot.cn/console/api-keys
  • XUNFEI_APP_ID 科大讯飞, 去 https://console.xfyun.cn/services
  • XUNFEI_API_KEY secret
  • XUNFEI_API_SECRET secret
  • XUNFEI_MODEL_VERSION 使用的模型版本,默认填写 v4.0 或需要的版本号(如: v3.5, max-32k, pro-128k),参考src/xunfei.js中modelVersionMap
  • XUNFEI_PROMPT 系统角色描述,支持个性化定制
  • DEEPSEEK_FREE_URL deepseek-free, model必须为deepseek-chat或deepseek-coder,去…
  • DEEPSEEK_FREE_TOKEN secret
  • DEEPSEEK_FREE_MODEL
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/wangrongding/wechat-bot
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/wangrongding/wechat-bot
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/wangrongding/wechat-bot
Or deploy to a different host
← Try another repo