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 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_url、loginconfirm、raw data URL、base64 或二维码 token。chatpost zhihu draft PROFILE SOURCE 与 chatpost 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.1.1,<0.2.0、chatenv>=0.2.0,<0.3.0、chatup>=0.2.4,<0.3.0、chatbrowser>=0.1.2,<0.2.0、qrcode[pil]>=7.4,<9.0、websocket-client>=1.8,<2.0 和 websockets>=12.0,<16.0。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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chatpost-0.1.1.tar.gz.
File metadata
- Download URL: chatpost-0.1.1.tar.gz
- Upload date:
- Size: 79.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ec9c810fa664f4291a086366f46313ac496a74539a1c010cff293ec836ab856
|
|
| MD5 |
91d569d0ad2fef5fd43c70eadc65e13d
|
|
| BLAKE2b-256 |
b60bc2f097ce7ba611b8ca7287fdf52f5e8208445e0aa90040f596ef6df0eb69
|
Provenance
The following attestation bundles were made for chatpost-0.1.1.tar.gz:
Publisher:
publish.yml on ChatArch/ChatPost
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chatpost-0.1.1.tar.gz -
Subject digest:
3ec9c810fa664f4291a086366f46313ac496a74539a1c010cff293ec836ab856 - Sigstore transparency entry: 2425472315
- Sigstore integration time:
-
Permalink:
ChatArch/ChatPost@186034d1205c8f7a56186e618f7a40fa4fe88595 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ChatArch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@186034d1205c8f7a56186e618f7a40fa4fe88595 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chatpost-0.1.1-py3-none-any.whl.
File metadata
- Download URL: chatpost-0.1.1-py3-none-any.whl
- Upload date:
- Size: 56.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9115dd0feaaed31ca964f18c07702b7a0b83505ffd187c50a3b04a7c609c6b86
|
|
| MD5 |
b3196fbfdb25199725dc162b7a8b65a7
|
|
| BLAKE2b-256 |
76f4ce552ca698debf95dcda0e42a4311e96ab42dd45fa589f119f222c8abb1e
|
Provenance
The following attestation bundles were made for chatpost-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on ChatArch/ChatPost
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chatpost-0.1.1-py3-none-any.whl -
Subject digest:
9115dd0feaaed31ca964f18c07702b7a0b83505ffd187c50a3b04a7c609c6b86 - Sigstore transparency entry: 2425472439
- Sigstore integration time:
-
Permalink:
ChatArch/ChatPost@186034d1205c8f7a56186e618f7a40fa4fe88595 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ChatArch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@186034d1205c8f7a56186e618f7a40fa4fe88595 -
Trigger Event:
push
-
Statement type: