Skip to content

Collaborative Docs & Wiki ​

Both your personal Homestead (/docs) and Group Spaces (Docs tab) include a local-first collaborative wiki and notebook. Multiple people can edit the same page simultaneously—or edit offline and merge cleanly when reconnecting.

Organizing pages & folders ​

  • Folder paths: Organize pages into folders like guides/onboarding or week-01/notes.
  • Automatic README view: Any folder containing a README page displays it automatically as the folder's landing page, just like a code repository.
  • Inline P2P images: You can embed images stored in the Space's P2P Files directly inside your docs.

Linking & metadata ​

  • WikiLinks: Type [[Page Name]] anywhere in a document to link to another page in the same Space.
  • Automatic Backlinks: Every page automatically lists all other pages that link to it, making it easy to build connected knowledge bases.
  • Tags & Custom Fields: Add tags (e.g., syllabus, draft) and structured key/value fields (e.g., status: open, due: 2026-12-10, done: false) to any page.

Live query blocks ​

You can embed live, auto-updating views of your Space's pages right inside any Markdown document using a fenced ```query block. Three layouts are supported:

  • list — compact bullet list of matching pages.
  • table — structured table displaying chosen custom fields as columns.
  • checklist — interactive checkboxes bound directly to a boolean field on each matching page (checking a box updates the page automatically!).

Example:

markdown
```query
view: checklist
folder: tasks
tag: sprint
field: done
```

Tip: Creating a Group Space with a Starter Template (University Classroom, Family Homestead, or Team / Study Group) automatically creates working README pages and query blocks you can copy and adapt.

Under the hood (Technical details)
  • CRDT collaboration: @molecular/app-docs (DocsApp + DocCrdtSession) uses Yjs CRDTs. Real-time keystrokes and active-editor presence sync over EphemeralChannel, while compacted encrypted snapshots persist in Willow for lossless offline merging.
  • Safe query blocks: The ```query parser is strictly declarative (no arbitrary JavaScript execution), filtering the Space's local metadata index for list, table, and field-bound checklist views.
  • Subpath permissions: In Group Spaces with "own docs only" enabled for a member, pages are scoped under /by/<memberDid> so members cannot overwrite others' pages.

Local-first digital homesteads & private group spaces.