返回顶部
c

china-summarizer中文智能总结

中文内容智能总结工具。Use when the user wants to summarize local files (TXT/MD/PDF/Word), web pages, news articles, or WeChat public account articles. No login, no API key, no VPN required. Extracts content via local file reading or curl, then summarizes using the current OpenClaw model. Domestic-friendly.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
126
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

china-summarizer

中文内容智能总结 China Summarizer

支持本地文件和网页内容的智能总结。
使用 OpenClaw 当前加载的模型进行总结,无需任何额外配置。

内容提取技术细节 → references/extract.md
总结提示词模板 → references/prompts.md

触发时机

  • - 帮我总结这篇文章:[URL]
  • 这篇公众号讲了什么:[URL]
  • 总结一下这个文件:/path/to/file.pdf
  • 提炼这份文档的核心内容:/path/to/file.docx
  • 用户粘贴一段文字,要求提炼要点

Step 1:识别内容源

包含 http:// 或 https:// → 网页/公众号 → [网页流程]
路径包含 .pdf → 本地 PDF → [PDF流程]
路径包含 .docx → 本地 Word → [Word流程]
路径包含 .txt / .md → 本地文本 → [文本流程]
用户直接粘贴文字 → 直接进入 → [总结流程]



[网页/公众号流程]

Step W1:curl 抓取

bash
curl -s {URL} \
-H User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10157) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 \
-H Accept: text/html,application/xhtml+xml;q=0.9,/;q=0.8 \
-H Accept-Language: zh-CN,zh;q=0.9,en;q=0.8 \
-L --max-time 15

Step W2:提取正文

从 HTML 提取纯文本,处理规则:

去除:

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large