internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT

Directories

Path Synopsis
Package cli implements the nota command line.
Package cli implements the nota command line.
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.
Package events is Nota's core event bus.
Package events is Nota's core event bus.
Package frontmatter reads and edits the YAML frontmatter of a markdown note.
Package frontmatter reads and edits the YAML frontmatter of a markdown note.
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:
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.
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)).
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.
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).
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).
Package sync is Nota's client sync engine.
Package sync is Nota's client sync engine.
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL