Directories
¶
| Path | Synopsis |
|---|---|
|
apps
|
|
|
desktop
command
Command desktop is the Nota desktop app.
|
Command desktop is the Nota desktop app. |
|
cmd
|
|
|
nota
command
Command nota is the Nota CLI: local-first markdown notes from the shell.
|
Command nota is the Nota CLI: local-first markdown notes from the shell. |
|
internal
|
|
|
cli
Package cli implements the nota command line.
|
Package cli implements the nota command line. |
|
edit
Package edit holds the note edits shared by the CLI, the MCP server, hooks and the app: building a new note, editing tags and properties in frontmatter, replacing or appending to the body.
|
Package edit holds the note edits shared by the CLI, the MCP server, hooks and the app: building a new note, editing tags and properties in frontmatter, replacing or appending to the body. |
|
events
Package events is Nota's core event bus.
|
Package events is Nota's core event bus. |
|
frontmatter
Package frontmatter reads and edits the YAML frontmatter of a markdown note.
|
Package frontmatter reads and edits the YAML frontmatter of a markdown note. |
|
hooks
Package hooks runs the scripts configured in <vault>/.nota/hooks.toml when core events happen, like git hooks:
|
Package hooks runs the scripts configured in <vault>/.nota/hooks.toml when core events happen, like git hooks: |
|
index
Package index is the rebuildable SQLite index of a vault: notes, tags (nested a/b included), frontmatter properties, links and full-text search.
|
Package index is the rebuildable SQLite index of a vault: notes, tags (nested a/b included), frontmatter properties, links and full-text search. |
|
markdown
Package markdown extracts what the index needs from a note body: tags (#tag, nested #a/b), wikilinks ([[Title]], [[path|alias]], [[x#heading]]), embeds (![[x]]) and links to local notes (text(other.md)).
|
Package markdown extracts what the index needs from a note body: tags (#tag, nested #a/b), wikilinks ([[Title]], [[path|alias]], [[x#heading]]), embeds (![[x]]) and links to local notes (text(other.md)). |
|
mcp
Package mcp exposes a vault to AI agents over the Model Context Protocol.
|
Package mcp exposes a vault to AI agents over the Model Context Protocol. |
|
protocol
Package protocol defines the Nota sync protocol: the routes, headers, wire types and error codes shared by the sync server (internal/server) and the client engine (internal/sync).
|
Package protocol defines the Nota sync protocol: the routes, headers, wire types and error codes shared by the sync server (internal/server) and the client engine (internal/sync). |
|
server
Package server is the Nota sync server behind `nota serve`: a multi-user store of vaults with a version log (SQLite), content addressed blobs, device-token auth and the HTTP API of the sync protocol (internal/protocol, docs/sync-protocol.md).
|
Package server is the Nota sync server behind `nota serve`: a multi-user store of vaults with a version log (SQLite), content addressed blobs, device-token auth and the HTTP API of the sync protocol (internal/protocol, docs/sync-protocol.md). |
|
sync
Package sync is Nota's client sync engine.
|
Package sync is Nota's client sync engine. |
|
vault
Package vault is the file layer of Nota: a vault is a folder of markdown notes, and the files on disk are the source of truth.
|
Package vault is the file layer of Nota: a vault is a folder of markdown notes, and the files on disk are the source of truth. |
|
views
Package views loads saved queries from <vault>/.nota/views/*.yaml and evaluates them through the index.
|
Package views loads saved queries from <vault>/.nota/views/*.yaml and evaluates them through the index. |
Click to show internal directories.
Click to hide internal directories.
