No description
Find a file
2026-08-01 08:14:58 +08:00
aihot_publisher style: sharpen daily article presentation 2026-07-31 19:59:15 +08:00
assets content: rank and deduplicate August 1 AI hotspots 2026-08-01 08:14:58 +08:00
issues content: rank and deduplicate August 1 AI hotspots 2026-08-01 08:14:58 +08:00
reviews content: rank and deduplicate August 1 AI hotspots 2026-08-01 08:14:58 +08:00
scripts content: rank and deduplicate August 1 AI hotspots 2026-08-01 08:14:58 +08:00
tests feat: ground article images and upload only reviewed drafts 2026-07-31 19:43:01 +08:00
.gitignore feat: add square Bai Ze AI avatar 2026-07-31 18:57:20 +08:00
AGENTS.md feat: ground article images and upload only reviewed drafts 2026-07-31 19:43:01 +08:00
pyproject.toml feat: add secure AI HOT WeChat publisher 2026-07-31 18:57:59 +08:00
README.md feat: ground article images and upload only reviewed drafts 2026-07-31 19:43:01 +08:00

AI HOT 微信公众号草稿生成器

本项目从 AI HOT 匿名只读 API 获取过去 24 小时的 AI 资讯,生成适合微信公众号的图文稿件。程序只在内容、配图和双审核全部通过后上传草稿箱;最终发表始终由用户本人在微信公众平台操作。

固定流程

  1. 通过 AI HOT API 获取资讯并撰写 issues/*.json
  2. 基于稿件已核验事实制作配图。图片必须与相邻正文直接相关,图中名称、数字和能力描述均有来源依据。
  3. 生成本地预览,不调用微信:
python -m aihot_publisher issue-preview --issue issues\2026-07-31.json --output out\editorial-2026-07-31.html
  1. 编辑审核子智能体和目标读者子智能体分别复核事实、结构、图文对应与误导风险。
  2. 两者均通过后记录绑定稿件、封面和正文配图哈希的审核:
python -m aihot_publisher review-record --issue issues\2026-07-31.json --role editorial --verdict PASS --note "事实、图片与合规审核通过"
python -m aihot_publisher review-record --issue issues\2026-07-31.json --role reader --verdict PASS --note "可读性、图片关联和用户价值审核通过"
python -m aihot_publisher review-check --issue issues\2026-07-31.json
  1. 全部通过后才上传图片并创建微信草稿:
python -m aihot_publisher issue-draft --issue issues\2026-07-31.json

程序没有自动发表命令。请在微信公众号草稿箱中完成最终检查并手动发表。

图片规则

  • 优先使用参数对比、时间线、系统关系和研究方法等事实信息图。
  • 每张正文图必须在稿件的 image_captions 中标注依据范围。
  • 不抓取或下载第三方附件,不伪造真实产品界面、论文图表或新闻现场。
  • 内容或图片发生任何变化,旧审核自动失效,必须重新双审。
  • 当前专题的事实信息图可用 python scripts\render_editorial_graphics.py 重建。

环境变量

上传草稿需要:

Wx_AppID
Wx_AppSecret

密钥只从本机环境变量读取,不作为 MCP 参数传入或出现在输出中。修改系统环境变量后,需要完全退出并重启 Codex。

MCP 工具

  • preview_daily_article:读取 AI HOT 并生成本地文章内容,不调用微信。
  • create_editorial_wechat_draft:仅在双审通过且稿件未改变时上传到草稿箱,绝不发表。

资讯线索与中文摘要来自 AI HOT,第三方原文版权归原作者所有。对外发表和再分发前请阅读 AI HOT 条款