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
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
- Download the skill files
- Configure paths in the script:
OBSIDIAN_DIR = os.path.expanduser("~/Documents/Obsidian/Articles")
ATTACHMENTS_DIR = os.path.expanduser("~/Documents/Obsidian/attachments")- Ensure Python 3.7+ and curl are installed
Dependencies
- Python 3.7+
- curl
License
MIT