← All features

Collections

Group sources by directory, glob, context, and per-collection egress policy

Group documents by source directory with glob patterns, includes, and excludes. Add contexts and project-aware affinity, govern each collection with a fail-closed local, LAN, or remote egress boundary, and on macOS optionally skip cloud-only Google Drive, iCloud Drive, or OneDrive files instead of downloading them.

Use cases
Keeping research and client notes separately searchable
Syncing a team wiki from git
Per-collection model overrides for code vs prose
Indexing a broad Google Drive or iCloud tree without hydrating cloud-only placeholders

What it gives you

  • Multiple document sources
  • Glob patterns for filtering
  • Include and exclude rules
  • Search one collection, several at once with a repeated -c, or all of them
  • Collection contexts for relevance
  • Portable project profiles and transparent local project affinity
  • Per-collection local_only, lan, or remote egress policy
  • Opt-in sourceAvailability: local on macOS skips cloud-only placeholders instead of downloading them, for Google Drive (My Drive and Shared drives), iCloud Drive, and OneDrive SharePoint library folders; separate from egress
  • Update commands for git sync

Try it yourself

Representative commands and entry points. Full reference lives in the documentation.

gno collection add ~/notes --name notes
gno collection list
gno search 'term' -c notes -c work
gno collection policy get notes

Keep reading

Related features and docs.