← 返回
未分类 中文

Clipper

Save web content to Obsidian vault. Supports Twitter/X, WeChat MP, Xiaohongshu, YouTube, Bilibili, and any web page. Automatically routes to the best fetch m...
将网页内容保存到 Obsidian 知识库。支持 Twitter/X、微信公众号、小红书、YouTube、Bilibili 及任意网页,自动选择最佳抓取方式。
pazzilivo pazzilivo 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 344
下载
💾 1
安装
1
版本
#latest

概述

Clipper

Unified web content clipper for Obsidian. One entry point, auto-detects platform, uses optimal method.

Usage

When user provides a URL and wants to save it:

python3 {{SKILL_DIR}}/scripts/clip.py "<url>"

Output:

  • Twitter: /clippings/tweet/YYYY-MM-DD--.md
  • Other: /clippings/web//YYYY-MM-DD-.md

Platform Routing

PlatformMethodWhy
-----------------------
Twitter/XJina ReaderFast, reliable, no auth needed
WeChat MPBrowser snapshotHandles JS rendering
Xiaohongshux-readerWorks well
YouTubex-readerGets description/metadata
Bilibilix-readerWorks well
Otherx-readerGeneral purpose

Workflows

Twitter / General Web (Auto)

python3 {{SKILL_DIR}}/scripts/clip.py "https://x.com/user/status/123"

One command, done.

WeChat MP (Two-step)

WeChat articles need browser rendering. The script will return needs_browser: true.

Step 1: Open in browser

browser action=open profile=openclaw targetUrl=<url>

Step 2: Get snapshot

browser action=snapshot profile=openclaw targetId=<targetId>

Step 3: Extract content and save

python3 {{SKILL_DIR}}/scripts/wechat.py \
  --url "<url>" \
  --title "<title>" \
  --author "<author>" \
  --date "<date>" \
  --content "<markdown>"

Or pipe content via stdin:

echo "<markdown>" | python3 {{SKILL_DIR}}/scripts/wechat.py \
  --url "<url>" \
  --title "<title>"

Supported URL Formats

Twitter:

  • https://twitter.com//status/
  • https://x.com//status/

WeChat:

  • https://mp.weixin.qq.com/s/

Others:

  • Any valid HTTP/HTTPS URL

Requirements

  • obsidian-cli (for vault detection) OR manually configured vault path
  • x-reader for general web: pipx install 'git+https://github.com/runesleo/x-reader.git'

Example

User: https://x.com/naval/status/1234567890 save this
You: [runs clip.py] → Saved to clippings/tweet/2026-03-18-naval-1234567890.md

User: https://mp.weixin.qq.com/s/abc123 保存这个
You: [runs clip.py] → needs_browser: true
    [opens browser, gets snapshot]
    [extracts content, runs wechat.py]
    → Saved to clippings/web/mp_weixin_qq_com/2026-03-18-article-title.md

Git Sync

All saves trigger automatic git sync: pull --rebase → add → commit → push

Git warnings (non-fatal) are returned in git_warnings array.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 10:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

Summarize

paudyyin
智能摘要工具,自动为长文本、文档、网页生成摘要,提取要点与关键词,支持自定义摘要长度。
★ 970 📥 524,219
professional

场外基金查询

pazzilivo
查询场外基金(公募基金)的实时估值、净值、基本信息。支持天天基金代码查询。当用户询问基金净值、基金估值、基金涨跌时使用。
★ 2 📥 1,723
knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 451 📥 106,241