dsh-x-archive
DSH tool for archiving and reading X (Twitter) posts via 2100laike X Archive (x.2100laike.com)
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:opencamel/dsh-x-archive说明文档
阅读完整 README ↗配置
在你的 cordis.yml 中按需覆盖(均有默认值):
- insert:
- id: dsh-x-archive
name: dsh-x-archive
config:
apiBaseUrl: 'https://api.2100laike.com' # 存档 API 地址
token: '' # 可选 PAT,见下
waitTimeoutSec: 60 # 新推文等待抓取完成的轮询上限(秒)
pollIntervalSec: 2 # 轮询间隔(秒)
maxContentChars: 30000 # 返回正文最大字符数,超出截断并附快照链接
额度与 PAT
匿名使用每个插件实例 8 次/天(重启后重新计数)。在 open.2100laike.com 创建 PAT(pat_2100_ 前缀)填入 token 后:
- 额度提升到 100 次/天
- 解锁
refresh: true强制重抓(受服务端 24 小时冷却保护,冷却内跳过且不耗额度)