Add personal Markdown mount CLI

This commit is contained in:
virgil
2026-06-09 10:27:30 -07:00
parent 319f379129
commit 2ed335ed28
3 changed files with 382 additions and 14 deletions

View File

@@ -52,7 +52,8 @@ Flow:
```text
personal Markdown or Obsidian vault
-> selected include paths
-> projection registry
-> local mount registry
-> authenticated projection request
-> read-only AFFiNE docs
```
@@ -62,6 +63,19 @@ Why this exists:
- It avoids forcing everyone into one giant shared repo.
- It lets people publish useful slices without adopting a new editor.
CLI flow:
```sh
section0-docs auth login
section0-docs mount add research ~/Documents/Obsidian/Research
section0-docs mount plan research
section0-docs mount sync research
```
`mount plan` prints the exact payload before it is sent. `mount status` shows
the local declaration and the last sync receipt. `mount unmount` removes the
projected AFFiNE docs for that namespace without touching the source folder.
## Choosing Between Them
Use Git-backed docs when the document itself is a shared artifact.