Files

35 lines
1.6 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 2026-04-23
## GBrain 卸载
- 谷老板要求卸载 GBrain,已清除:`~/gbrain``~/.gbrain``~/brain``bun`
- GBrain 不再是用户需要的工具
## Codex CLI 本地反代研究
- 谷老板想把 Codex CLI 变成 API 服务供其他工具调用
- 推荐方案:CLIProxyAPI`https://github.com/router-for-me/CLIProxyAPI`
- 支持 Codex/Claude Code/Gemini CLI 的 OAuth 转 API
- 端点:`http://localhost:8317/v1/chat/completions`
- 安装:`brew install cliproxyapi && brew install codex`
- 登录:`cliproxyapi --codex-login`
- 谷老板说在别处自己装,不需要我操作
## 腾讯云新项目自动化部署
- 谷老板推了新项目 `spectra-lab` 到 Gitea,要求配置自动化部署
- 目标:新仓库出现时自动部署为 `项目名.gch3n.online`
- 服务器:49.235.172.252:11022 (user: nplx)
- 已完成:
- spectra-lab 静态文件部署到 `/home/nplx/deployments/spectra-lab/`
- Caddyfile 已更新,添加通配符路由 `*.gch3n.online`app01 反代到 localhost:8030spectra-lab 指向静态目录
- nplx 已配置 sudo 免密(NOPASSWD
- `sudo systemctl reload caddy` 成功
- 待完成:
- DNS 需要配置通配符 A 记录:`*.gch3n.online → 49.235.172.252`
- HTTPS 证书自动签发(Caddy 会自动处理,但需要 DNS 先通)
- Gitea Organization Webhook 自动化流程尚未搭建
- 自动检测新仓库并部署的脚本尚未写
- 现有 Traefik 容器可忽略(未实际使用,系统 Caddy 才是主力)
## CI/CD(延续昨日)
- Gitea Actions 工作正常,Runs #13-#15 成功
- Runner: tencent-app01-host (host mode)