threed8 downloadsManage local-first Yuque-style knowledge bases with isolated sidebars, nested doc-as-folder hierarchy, manual ordering, and .lakebook import.
Turn folders in your Obsidian vault into local-first, Yuque-style structured knowledge bases—with isolated per-book sidebars, unlimited doc-as-folder nesting, pure grouping folders, drag-and-drop manual ordering, and offline .lakebook import.
Every note stays 100% standard Markdown on disk, so your vault remains clean, portable, and readable even without the plugin.
Parent/Parent.md + Parent/Child.md) so any document can hold nested child documents infinitely deep without cluttering sibling directories.before, inside, after) automatically promotes leaf notes to parent folders and optionally demotes empty parent folders back to single files..lakebook Offline Import & Image Localization:.lakebook archives directly inside Obsidian (desktop & mobile) while preserving multi-level hierarchy and custom ordering.assets/ folder with relative links for full offline viewing.assets/ folder.assets/ using Obsidian's trash settings._kb.json and assets/ in Obsidian's native File Explorer.kb-toc Blocks & Optional Reading Navigation:list or cards view) inside any document.Each knowledge base is a normal folder in your vault containing standard .md files plus a small, non-hidden _kb.json manifest (so it syncs seamlessly with Obsidian Sync and Git):
KnowledgeBases/
└── Engineering-Handbook/
├── _kb.json # Title, icon, cover, custom sibling ordering
├── assets/ # Images belonging to this knowledge base
├── Getting-Started/
│ ├── Getting-Started.md # Parent document (Inside-Folder)
│ └── Installation.md # Child document
└── Architecture/ # Pure group (no Architecture.md)
└── State-Management.md
kb-toc)Insert a kb-toc (or yuque-toc) code block in any knowledge base note to render live child navigation:
```kb-toc
view: cards # list | cards
depth: 2 # Max nesting depth
showGroups: true # Include pure groups
target: Guides # Optional relative path inside the KB (defaults to current doc)
title: Contents # Optional custom heading
```
https://github.com/threed33/obsidian-yuque-kb.main.js, manifest.json, and styles.css from the latest GitHub Release.main.js, manifest.json, and styles.css into <Vault>/.obsidian/plugins/yuque-kb/..lakebook extraction, and asset auditing run locally on your device with zero telemetry, no account requirement, and no paywall.requestUrl) are only triggered when you explicitly enable image localization during .lakebook import or run the "Download remote images in current knowledge base to local assets" command. In those cases, the plugin fetches only the external image URLs already present inside your own Markdown documents so they can be stored locally in <KB>/assets/.isDesktopOnly: false), compatible with both desktop and mobile Obsidian.npm install
npm run typecheck
npm run test
npm run build