Skip to content

Instantly share code, notes, and snippets.

View fangwangme's full-sized avatar

Fang Wang fangwangme

View GitHub Profile
@fangwangme
fangwangme / obsidian-static-backup.md
Last active December 31, 2025 19:04
Obsidian Templater Script: Convert Daily/Weekly notes to static Markdown for AI/RAG (Supports Tasks & Dataview)

<%* // 🛡️ v28:Weekly 语境重构版 (引入 Time-Window Scoping 引擎) try { // ================= 1. 配置区域 ================= const EXTERNAL_BACKUP_ROOT = "/Users/fangwang/project/life/ObsidianStaticBackup/PeriodicNotes";

// ================= 2. 交互模式 =================
const modes = [

"📅 备份【本周】 (Current Week)",