wucai-cli
五彩 (WuCai) 命令行工具 — 从终端管理你的网页划线、剪藏与日记。
安装
pip install wucai-cli
配置
设置环境变量:
export WUCAI_API_TOKEN="wct-你的Token"
export WUCAI_REGION="cn" # cn(中国区) | eu(欧洲区) | us(美国区)
Token 获取地址(需登录对应区域账号):
| 区域 | Token 页面 |
|---|---|
| CN | marker.dotalk.cn |
| EU | eu.wucainote.com |
| US | us.wucainote.com |
拷贝以
wct-开头的 OpenClaw 专用 Token,不要错拷贝成普通 API Key。
命令
| 命令 | 说明 |
|---|---|
wucai list-highlights |
查看最新划线 |
wucai list-articles |
查看文章列表 |
wucai list-diary |
查看日记 |
wucai search-highlights |
搜索划线内容 |
wucai search-articles |
搜索文章标题/笔记 |
wucai get-article |
获取文章详情 |
wucai append-diary |
追加日记 |
wucai set-status |
修改文章状态 |
wucai trash |
移入回收站 |
wucai update-note |
更新页面笔记 |
使用示例
# 查看今日划线
wucai list-highlights
# 查看最近 48 小时划线(仅文章)
wucai list-highlights --range 48h --type 1
# 搜索划线内容
wucai search-highlights --query "machine learning"
# 查看本周文章(带高亮内容)
wucai list-articles --range week --with-highlights
# 通过 URL 获取文章详情
wucai get-article --url "https://example.com/article"
# 追加日记
wucai append-diary --content "今天学到了新东西"
# 修改文章状态为归档
wucai set-status --note-idx <id> --status archive
# 人类可读输出
wucai list-highlights -o text
通用参数
| 参数 | 说明 |
|---|---|
--range |
时间范围:today / yesterday / week / 24h / 48h / 7d / YYYY-MM-DD / start:end |
--page-size |
每页数量(默认 12) |
--cursor |
游标翻页 |
-o / --output |
输出格式:json(紧凑)/ pretty(缩进)/ text(人类可读) |
14 天限制:所有时间查询跨度不得超过 14 天。如需查询更早内容,请指定具体日期。
相关链接
License
MIT-0 (MIT No Attribution)
Metadata
Release files for wucai-cli 26.3.50
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wucai_cli-26.3.50.tar.gz | 6.5 kB | Without provenance | Details for wucai_cli-26.3.50.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wucai_cli-26.3.50-py3-none-any.whl | Python 3 | none | any | Details for wucai_cli-26.3.50-py3-none-any.whl |
Total release size: 14.0 kB
Release files / wucai_cli-26.3.50.tar.gz
| Download URL | wucai_cli-26.3.50.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2298778d8346e93dd74de8854cfc4a8e4fec11c2ba1a111fb0ed33500401ce0c
|
|
BLAKE2b-256 checksum How to use checksums |
04b3c21fcb802a9195b1d0b60500ea686cad145ff48f767c83b3041010f96001
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Release files / wucai_cli-26.3.50-py3-none-any.whl
| Download URL | wucai_cli-26.3.50-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4be4fa76fb76565d0db1efcda006fd2954f260d49e5794896f2c942e97c839bb
|
|
BLAKE2b-256 checksum How to use checksums |
c48a353c65006930aa19aab2bb8758b2b6995fe8af249ae229ba35b788a71fb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Security for wucai-cli 26.3.50
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.