Files
chill_notes/工具技能/Obsidian同步方案.md
2026-04-22 11:47:12 +08:00

149 lines
3.7 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Obsidian 同步方案
> Obsidian 笔记同步工具对比研究
>
> 归档2026-04-22
---
## 方案对比
| 项目 | obsidian-livesync | fast-note-sync-service |
|------|-------------------|----------------------|
| **Stars** | ⭐ 10,418 | ⭐ 1,015 |
| **Forks** | 354 | 78 |
| **Issues** | 311 (open) | 59 (open) |
| **最近更新** | 2026-04-09 | 2026-04-21 ✅ |
| **许可证** | MIT | Apache 2.0 |
| **技术栈** | TypeScript | Golang + WebSocket + React |
| **成熟度** | 非常成熟 (多年) | 较新 (功能丰富) |
---
## 功能对比
| 功能 | obsidian-livesync | fast-note-sync-service |
|------|-------------------|----------------------|
| **基础同步** | ✅ | ✅ |
| **端到端加密** | ✅ | ❓ |
| **冲突处理** | ✅ 自动合并 | ✅ 离线合并 |
| **附件同步** | ✅ | ✅ (分片上传) |
| **笔记历史** | ❌ | ✅ (Web 页面查看) |
| **回收站** | ❌ | ✅ |
| **配置同步** | ✅ | ✅ |
| **Git 自动化** | ❌ | ✅ |
| **多存储备份** | S3/R2/MinIO | S3/OSS/R2/WebDAV/Local |
| **数据库支持** | CouchDB | SQLite/MySQL/PG |
| **Web 管理面板** | ❌ | ✅ |
| **MCP (AI 连接)** | ❌ | ✅ (Cherry Studio/Cursor) |
| **P2P 同步** | ✅ (WebRTC) | 规划中 |
| **REST API** | ❌ | ✅ |
---
## obsidian-livesync
**GitHub**: https://github.com/vrtmrz/obsidian-livesync
### 特点
- 专为 Obsidian 设计
- 支持 CouchDB / 对象存储 (S3/R2/MinIO)
- 支持 WebRTC P2P 同步
- 端到端加密
- 成熟稳定,社区活跃
### 适用场景
- 需要 P2P 模式(不依赖服务器)
- 需要 E2E 加密
- 追求稳定性
---
## fast-note-sync-service
**GitHub**: https://github.com/haierkeys/fast-note-sync-service
### 特点
- Golang + WebSocket 高性能
- 内置 Web 管理面板
- 支持 MCP (Model Context Protocol)
- 支持 REST API
- 支持笔记历史版本
- 支持 Git 自动化
- 多数据库支持 (SQLite/MySQL/PG)
- 多存储备份 (S3/OSS/R2/WebDAV/Local)
### 适用场景
- 需要 AI 集成MCP
- 需要 REST API 自动化
- 需要 Web 管理界面
- 需要笔记历史查看
---
## 推荐方案
**推荐fast-note-sync-service**
### 理由
1. **MCP 支持** — 可连接 Cursor/Cherry Studio 等 AI 工具,让 AI 直接读写笔记
2. **REST API** — 方便自动化脚本
3. **Web 管理面板** — 可视化管理更方便
4. **Git 自动化** — 配合知识库备份
5. **活跃开发** — 最新版刚发布 (2026-04-21)
6. **部署简单** — Docker 一键启动
---
## 快速部署
### fast-note-sync-service
```bash
# 一键安装
curl -fsSL https://raw.githubusercontent.com/haierkeys/fast-note-sync-service/master/scripts/quest_install.sh | bash
# Docker 部署
docker run -td --name fast-note-sync-service \
-p 9000:9000 \
-v /data/fast-note-sync/storage/:/fast-note-sync/storage/ \
-v /data/fast-note-sync/config/:/fast-note-sync/config/ \
haierkeys/fast-note-sync-service:latest
```
访问 http://{服务器IP}:9000 进入管理面板。
### obsidian-livesync
需要在服务器部署 CouchDB 或使用云服务(如 IBM Cloudant
---
## 用户现状
- 已有 Obsidian + WebDAV 挂载
- 有 HomePage 导航站
- 关注 AI/Agent 技术
**fast-note-sync-service 的 MCP 功能**尤其适合当前需求,可让 AI 助手直接读写笔记。
---
## 相关资源
| 资源 | 链接 |
|------|------|
| obsidian-livesync | https://github.com/vrtmrz/obsidian-livesync |
| fast-note-sync-service | https://github.com/haierkeys/fast-note-sync-service |
| obsidian-livesync 文档 | https://github.com/vrtmrz/obsidian-livesync/blob/main/README_cn.md |
---
## 工具技能索引
其他工具笔记:
- [[INDEX_工具技能]] - 工具技能知识索引
---
*整理:知识库管理员 | 归档2026-04-22*