← Back to home
Skill

在线文档本地化

tencent_skillhub · 1.8.4 · Downloads 313 · Heat 43.3

Introduction

将以下在线资源转成本地Markdown文档和静态HTML 1. 通用网页 / 文档 / API 参考 / 博客 引擎 convert.py:仅依赖 Python 标准库;若环境装了 trafilatura,正文抽取质量更佳。 支持 stdin 管道模式(已有正文时直接喂,不重复抓取)。 2. 飞书(Feishu) feishu_fetch.py:云文档 → 单篇 / 整空间批量 Markdown(经 lark-cli 连接器)。 feishu_img_localize.py:飞书图片本地化(抽 file_token 下载到 assets/,配 build 内嵌)。 wiki_export.py:整飞书 wiki 空间递归导出为带导航的静态 HTML 合集,可断点续跑。 3. PDF pdf_to_md.py:本地文本型 PDF → 结构化 Markdown(PyMuPDF 字号分层)。 geektime_pdf.py:极客时间/微伴等 JS 渲染 PDF 预览页 → 真实 PDF 逆向下载。 4. 小红书 xiaohongshu_fetch.py:笔记 → Markdown。SSR 解析 __INITIAL_STATE__ 优先,登录墙/空内容回退 Playwright;支持 OCR 识图。 5. 在线视频(抖音/B站等反爬站点) video_to_md.py:Playwright 拿直链 + 导出 cookie → 下载 → ffmpeg 抽音频 → faster-whisper 转写 → opencc 繁转简 → 按章节分组 MD,产出「观点/论述/建议」三段式总结。 6. X(Twitter)长文 x_to_md.py:经 browser-skill 渲染文章 DOM,剔除评论/引用卡,图片真实落地(唯一需联网+浏览器的环节)。 x_md_to_html.py:MD → 自包含离线 HTML(article-magazine 风格,图片 base64 内嵌,纯本地零联网,可反复重跑)。 7. 合集生成 build_static_html.py:多篇 Markdown → 类飞书风格静态 HTML 合集(带分章导航),--embed-images 可把图片 base64 内嵌。

Resource Information

Author:user_3aa1c1ff
Category:Rag Knowledge
Version:1.8.4
Auth: No auth
Pricing: Not specified

License information is collected from official sources and may be outdated or missing. Refer to the LICENSE file in the original repository before commercial use.

Tags
知识归档

Information boundary

Information on this page is collected from official documents for technical presentation only and does not imply our endorsement. Pricing, quotas and availability are subject to the latest official statements. We make no commitment regarding any action you take after leaving this site.

Similar skills

搜索引擎

FreemiumAPI key required

通过公开搜索URL在16个搜索引擎(7个国内直连+9个国际)中做跨引擎检索、结果去重与多源交叉验证,无需API Key,内置零依赖Python脚本。Use when 用户要求“搜一下/查资料/多找几个来源/核实消息/找公众号文章/排查报错/找论文或开源项目”时。输入自然语言查询词,输出带来源链接与可信度标注的结构化结果。不适用于私有数据检索、批量抓取、需要登录后可见的内容。

ima-skills

API key required

ima skills,支持对笔记、知识库的读取、写入和检索等操作,可以帮你随时记录,收入ima智能管理,随时调用,龙虾输出精准懂你,友好的接入了OpenClaw生态,构建你的第二大脑。

web-tools-guide

API key required

MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_search failure → must guide user to configure API), fallback chain (opencli CLI covers 70+ sites as structured fallback before browser), and site-specific login URLs. Without reading this skill, you WILL handle failures incorrectly and miss available tools. Trigger on: 搜索/上网/查资料/打开网站/抓取网页/新闻/热点/web search/fetch/browser/opencli.

Aihot Skill Lite

Marked freeAPI key required

AI HOT(aihot.virxact.com)中文 AI 资讯查询 Skill,帮助用户获取今日 AI 圈动态、AI 日报、AI 热点、最新 AI 资讯以及 OpenAI、Anthropic、Google 等公司的最新发布信息。

Baidu web search

API key required

使用百度AI搜索引擎(BDSE)进行网络搜索。适用于获取实时信息、文档资料或研究课题。

Markdown Converter

Not specified

{"answer":"使用 markitdown 将文档和文件转换为 Markdown。用于将 PDF、Word (.docx)、PowerPoint (.pptx)、Excel (.xlsx, .xls)、HTML、CSV、JSON、XML、图片(含 EXIF/OCR)、音频(含转录)、ZIP 压缩包、YouTube 链接或 EPub 转换为 Markdown 格式,以进行 LLM 处理或文本分析。"}

What is a Skill

A Skill is a packaged single capability, such as text recognition, document summarization, or keyword extraction. Developers wrap the calling logic and prompts into a plugin-like unit, so users can load it without understanding the underlying model. StackPilot indexes a large number of skills that can be tried instantly or assembled into a plan.