weread-dl

微信读书 AI 阅读助手 - 扫码登录、阅读进度跟踪、章节内容存档、AI 对话

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "weread-dl" with this command: npx skills add colorlessboy/weread-dl

微信读书 AI 阅读助手 (weread-dl)

基于 weread-dl 插件的 API 拦截原理,通过 Playwright 实现扫码登录 → 获取阅读进度 → 截获加密章节数据 → 存档和 AI 对话。

文件结构

weread-dl/
├── SKILL.md                      # 本文档
├── scripts/
│   ├── login.js                  # 扫码登录
│   └── read-chapter.js           # 打开书籍,获取章节/进度,保存到文件夹
├── profile/
│   └── weread-cookies.json       # 持久化 cookies(自动生成)
└── books/
    └── <书名>/
        ├── metadata.json         # 书籍信息 + 目录 + 阅读进度 + 阅读历史
        ├── current-chapter.md    # 当前章节标记(从 DOM 提取,参考用)
        ├── chapters/
        │   ├── chapter_e0.enc    # 加密章节数据(可去 ebook-exporter 解密)
        │   ├── chapter_e1.enc
        │   ├── ...
        │   └── toc.json          # 目录结构数据
        ├── screenshots/
        │   └── YYYY-MM-DD.png    # 每次阅读的页面截图
        └── chat.md               # 和彭总的聊天记录

工作原理

章节加密

微信读书网页版使用 canvas 渲染正文(版权保护),章节数据通过 API /web/book/chapter/e_NAES 加密 形式传输:

32位hex校验码 + base64(AES加密数据)

本工具拦截原始加密数据,保存为 .enc 文件。解密可前往: https://ebook-exporter.deno.dev

阅读进度

从页面目录元素自动提取当前章节和百分比进度,记录在 metadata.json 中。

使用

登录

cd ~/.openclaw/workspace/skills/weread-dl
NODE_PATH=/home/peng/.npm-global/lib/node_modules node scripts/login.js

生成二维码 → 微信扫一扫 → 自动保存 cookies

读一本书

NODE_PATH=/home/peng/.npm-global/lib/node_modules node scripts/read-chapter.js <bookId>

可选 --chat 参数记录聊天:

node scripts/read-chapter.js <bookId> --chat "讨论内容"

AI 对话功能

  1. 运行 read-chapter.js 打开指定书籍
  2. 获取当前章节(第X章,进度Y%)和相关上下文
  3. 基于目录结构和历史阅读记录与用户讨论
  4. 聊天记录自动保存到 books/<书名>/chat.md

注意事项

  • ⚠️ 使用工具有封号风险,建议小号
  • 加密章节数据需配合解密端使用

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

PDF Reader

Extract text from PDF files with automatic OCR fallback for scanned/image-based PDFs. Use when: (1) a user sends a PDF file and the framework did not auto-in...

Registry SourceRecently Updated
General

Ielts Review Upload

上传雅思阅读复盘文件到服务器,查看个人进步趋势。当用户想要上传已有的复盘文件(JSON)到云端,或者查看个人复盘仪表板时使用。触发词:上传复盘、上传复盘文件、sync review、upload review、查看我的复盘记录、我的仪表板、dashboard。

Registry SourceRecently Updated
General

IELTS Reading Review 雅思阅读复盘助手

IELTS Reading passage review, scoring, and progress tracking skill. Generates structured review data (JSON) and deploys to tuyaya.online via saveReview API....

Registry SourceRecently Updated
General

Happy IMG2 Direct

Generate images with an OpenAI-compatible image provider such as happy/gpt-image-2, with retries and bounded batch concurrency.

Registry SourceRecently Updated