GitDeployHub

usagi-org/ai-goofish-monitor

github.com/usagi-org/ai-goofish-monitor ↗
Python
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 模型的 API Key。
  • OPENAI_BASE_URL secret 模型的 API 接口地址。 这里需要填写服务商提供的、兼容 OpenAI 格式的 API 地址。 例如: https://api.openai.com/v1/ 或国内大模型厂商提供的地址。
  • OPENAI_MODEL_NAME secret 使用的模型名称。 注意:该模型必须支持图片分析功能 (Vision)。
  • SERVER_PORT 服务运行端口 (默认 8000)
  • WEB_USERNAME 管理员账号与密码 (默认 admin / admin123)
  • WEB_PASSWORD secret
  • RUN_HEADLESS 爬虫是否以无头模式运行 (默认 true)。 注意:使用 Docker 部署时必须设为 true。
  • LOGIN_IS_EDGE 是否使用 Edge 浏览器内核 (默认 false, 即使用 Chrome)。 仅影响本地浏览器通道;Docker 镜像未内置 Edge,容器内会固定使用 Chromium。
  • PCURL_TO_MOBILE 是否开启自动转换:将电脑端链接转换为手机端链接 (建议开启)
  • AI_DEBUG_MODE AI 调试模式 (默认 false)。开启后控制台会打印详细的 AI 分析日志。
  • PROXY_URL (可选) 为 AI 请求配置 HTTP/S 代理。支持 http 和 socks5。 例如: http://127.0.0.1:7890 或 socks5://127.0.0.1:1080
  • ENABLE_THINKING 是否启用 enable_thinking 参数 (某些模型如 DeepSeek 可能需要,默认 false)
  • ENABLE_RESPONSE_FORMAT 是否启用 response_format (默认 true)。 豆包模型等不支持 json_object 格式的需设为 false;Gemini/GPT 等建议设为 true。
  • NTFY_TOPIC_URL ntfy (推荐)
  • BARK_URL Bark (iOS 推荐) 例如: https://api.day.app/your_key
  • WX_BOT_URL 企业微信机器人
  • TELEGRAM_BOT_TOKEN secret Telegram 机器人 获取 Token 找 @BotFather,获取 Chat ID 找 @userinfobot
  • TELEGRAM_CHAT_ID
  • TELEGRAM_API_BASE_URL 可选:Telegram Bot API 反代地址,默认 https://api.telegram.org
  • GOTIFY_URL Gotify
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/usagi-org/ai-goofish-monitor
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/usagi-org/ai-goofish-monitor
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/usagi-org/ai-goofish-monitor
Or deploy to a different host
← Try another repo