← 返回
未分类 中文

Save To Obsidian Publish

Save web articles from multiple sources to Obsidian with auto summaries, tags, local images, duplicate detection, and optional user notes.
将多来源网页文章保存至Obsidian,包含自动摘要、标签、本地图片、重复检测及可选用户笔记。
vlalamoon
未分类 clawhub v2.1.0 2 版本 100000 Key: 无需
★ 0
Stars
📥 421
下载
💾 0
安装
2
版本
#latest

概述

Save to Obsidian

Save web articles to Obsidian knowledge base with auto-generated summaries, tags, and local image storage.

Features

  • Batch Processing: Process multiple article links at once
  • Multi-source Support: WeChat, Zhihu, Juejin, Medium, blogs, etc.
  • Smart Summary: Auto-generate structured summary (core idea + key points + audience)
  • Auto Tags: Extract relevant tags (tech domain + topic type)
  • Image Localization: Download images locally with relative paths
  • Duplicate Detection: Skip already saved articles based on URL
  • Retry on Failure: Auto-retry 3 times on network failure
  • User Notes: Support adding personal notes

⚠️ Mandatory Rules

Image Paths — Relative Only

All images in the saved Markdown MUST use relative paths, never absolute URLs.

The script handles this automatically. If you process articles manually (e.g., due to anti-scraping), you must:

  1. Download each image to ATTACHMENTS_DIR/{article_hash}/
  2. Replace the URL with ../attachments/{article_hash}/{filename}
  3. Verify images were actually saved (file size > 100 bytes)

This ensures Obsidian can display images offline and iCloud sync works correctly.

Usage

# Single article
python3 save_article_to_obsidian.py "https://mp.weixin.qq.com/s/xxx"

# Multiple articles
python3 save_article_to_obsidian.py \
  "https://mp.weixin.qq.com/s/xxx" \
  "https://zhuanlan.zhihu.com/p/yyy"

# With notes
python3 save_article_to_obsidian.py "https://..." "My notes here"

Output Format

---
title: "Article Title"
url: "https://..."
created: 2026-04-07
source: wechat
tags:
  - ai
  - security
  - tutorial
---

## 📌 Summary

**Core Idea**: Article summary...

**Key Points**:
- Point 1
- Point 2
- Point 3

**Audience**: Target readers

🔗 [Read Original](https://...)

---

Article content...

Installation

  1. Download the skill files
  2. Configure paths in the script:

```python

OBSIDIAN_DIR = os.path.expanduser("~/Documents/Obsidian/Articles")

ATTACHMENTS_DIR = os.path.expanduser("~/Documents/Obsidian/attachments")

```

  1. Ensure Python 3.7+ and curl are installed

Dependencies

  • Python 3.7+
  • curl

License

MIT

版本历史

共 2 个版本

  • v2.1.0 当前
    2026-05-23 16:20 安全 安全
  • v2.0.1
    2026-05-07 15:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

彩云天气每日推送

vlalamoon
彩云天气每日推送。每天定时查询天气并通过微信/消息渠道推送天气早报。支持自定义位置、推送时间和推送渠道。Use when user wants to set up daily weather notifications.
★ 0 📥 464

LLM Wiki - Personal Knowledge Base

vlalamoon
个人知识库构建系统(基于 Karpathy llm-wiki 方法论)。让 AI 持续构建和维护你的知识库, 支持多种素材源(网页、推特、公众号、小红书、知乎、YouTube、PDF、本地文件), 自动整理为结构化的 wiki。 触发条件:
★ 2 📥 368

Pre-Publish Security Check

vlalamoon
Skill 发布前安全检查工具。在发布 skill 到 ClawHub 前,自动扫描敏感信息(API Key、Token、私钥、邮箱、手机号、精确坐标等)。Use before publishing any skill to prevent
★ 0 📥 352