Skip to main content

ChatPost

ChatArch browser-level platform login foundation and draft entrypoint.

文档入口:https://arch.gh.wzhecnu.cn/ChatPost/

场景 文档
立即跑知乎/CSDN 登录与草稿路径 Quickstart:逻辑 Profile、知乎/CSDN 登录与草稿
查看当前真实命令 CLI 树
校对当前能力和边界 能力地图
Review Chrome/Profile 状态边界 配置、环境与状态

快速开始

pip install ChatPost
chatpost --version
chatup playwright install 1.61.1 --browser chromium --output json -I
chatbrowser profile create zhihu-test \
  --path "$HOME/.chatarch/chatpost/profiles/test/zhihu" \
  --backend chatup-playwright \
  --label owner=chatpost \
  --label platform=zhihu \
  --label logical_profile=test \
  --output json

本仓库开发环境:

pip install -e ".[dev]"
chatpost --help
chatpost --version
chatpost --tree
chatpost --tree-brief
chatpost platforms --help
chatpost profiles --help
chatpost zhihu --help
chatpost zhihu profiles --help
chatpost zhihu login --help
chatpost zhihu status --help
chatpost zhihu logout --help
chatpost zhihu draft --help
chatpost xhs --help
chatpost xhs profiles --help
chatpost xhs login --help
chatpost xhs status --help
chatpost xhs logout --help
chatpost csdn --help
chatpost csdn profiles --help
chatpost csdn login --help
chatpost csdn status --help
chatpost csdn logout --help
chatpost csdn draft --help
python -m pytest -q
python -m build

当前边界

chatpost zhihu/xhs/csdn login/status/logout PROFILE 是纯浏览器登录基础层:它只管理受控 Chromium Profile 和页面可见登录态,不调用发布适配器、不加载发布扩展、不要求发布 token、不读取或导出 Cookie/LocalStorage/IndexedDB/session/token。知乎未登录时可输出 page-owned login_url;小红书与 CSDN 未登录时只支持二维码图片 handoff:chatpost xhs login PROFILE --qrcode PATH / chatpost csdn login PROFILE --qrcode PATH 写出 mode 0600 的二维码 artifact,用户可见输出只包含 qrcode_path,不暴露 login_urlloginconfirm、raw data URL、base64 或二维码 token。chatpost zhihu draft PROFILE SOURCEchatpost csdn draft PROFILE SOURCE 是独立 Wechatsync adapter 入口:dry-run 使用 Wechatsync CLI parser 做预览;create 通过 Wechatsync extension MCP 直连创建一个草稿,不最终公开发布。当前 Wechatsync CSDN adapter 返回 draftOnly=true,ChatPost 不提供 CSDN 公开 post/publish 命令。小红书草稿/发布尚未进入当前用户可见 CLI。

这个包依赖 chatstyle>=0.2.0,<0.3.0chatenv>=0.2.10,<0.3.0chatup>=0.2.12,<0.3.0chatbrowser>=0.1.5,<0.2.0qrcode[pil]>=7.4,<9.0websocket-client>=1.8,<2.0websockets>=12.0,<16.0。ChatStyle 从真实 Click 注册表生成 chatpost --tree(含签名)和 chatpost --tree-brief(不含签名)。Playwright package/browser 安装由 ChatUp 负责;浏览器 runtime/Profile/CDP metadata 边界由 ChatBrowser 承担;ChatPost runner 可用 browser_profile = "zhihu-test" / browser_profile = "csdn-test" 引用 ChatBrowser Profile,但 Wechatsync extension/bridge/receipt 仍属于 ChatPost adapter 层。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatpost-0.1.3.tar.gz (79.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatpost-0.1.3-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file chatpost-0.1.3.tar.gz.

File metadata

  • Download URL: chatpost-0.1.3.tar.gz
  • Upload date:
  • Size: 79.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatpost-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b63a3c1836949ec739e29aa2c4d48576b3aaa7c84cd862f09da1631f6f89de3c
MD5 a98072a8a3b9387be9e211d8e277d08f
BLAKE2b-256 d2e7b19a69c9cce18f9845146b0ec9a28f06bb85f9b68ec3f40e9608b903ec9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatpost-0.1.3.tar.gz:

Publisher: publish.yml on ChatArch/ChatPost

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chatpost-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: chatpost-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 55.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatpost-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8fa909daf55db4ae4da90f445634c3a2f3fb8688321250057690ec6bbb3b00d7
MD5 d3a6337651d2b5117ce8c50d82b03d03
BLAKE2b-256 8a2b241a45f5ce46e08da69b5bbda061fe20e3b776fc8ad68f012bdf5a211ef1

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatpost-0.1.3-py3-none-any.whl:

Publisher: publish.yml on ChatArch/ChatPost

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page