Glossary

Core terms

Emoji / page icon

An emoji is an optional page icon stored as the emoji core property under Alexandria's built-in note metadata. When unset, the UI falls back to the default page emoji.

Fetcher

akb-fetcher saves a web article into an Alexandria workspace by extracting article content and metadata, converting the body to Markdown, and creating a tagged note.

Frontmatter

Frontmatter is the YAML block at the top of each note file. Alexandria stores the note UUID, core metadata, tags, tag definitions, and applied property values there.

A tag's default view is a table: one row per tagged note with columns for that tag's properties. A tag can instead use gallery view, which shows cards using the first image in each note body as the cover.

Importer

akb-importer brings supported external exports into Alexandria. The supported importer today is Notion, which creates Alexandria notes, tags, and properties from a Notion Markdown and CSV export.

Index

The index/ directory holds a derived SQLite index for fast lookup and search. It is rebuilt on demand from the Markdown files and is not part of the synced workspace data.

A Link DB embed uses the exact Markdown syntax <link-db id="tag-id">. It renders notes tagged with the specified tag as a live table and supports property editing from the embedded table.

Media

Media files live under media/ and are represented by companion notes with the built-in Media tag. Media is content-addressed: Alexandria stores a SHA-256 content hash and reuses an existing media entry when identical bytes are uploaded again.

Note

A note is a Markdown file with YAML frontmatter and a Markdown body. It has a stable UUID, title and timestamps, optional tags, and optional applied property values.

Property

A property is a typed value that a tag can define and apply to notes carrying that tag. Alexandria supports exactly seven property types: boolean, select, multi-select, date, number, money, and string.

Sync

Sync keeps a workspace available on multiple devices with end-to-end encrypted, file-level blob sync. The self-hostable server is zero-knowledge: it stores ciphertext, an encrypted manifest, and a hash of the access token, not plaintext notes or keys.

Tag

A tag is a note that can organize other notes; any note can become a tag. Tags are many-to-many, so one note can carry several tags at once.

Tag properties

Tag properties are defined on a tag note in the tag-properties frontmatter map, from property name to property type. When a note is tagged, values for that tag are stored under a properties-<tag-name>-<tag-id> frontmatter key.

Trash

trash/ is the workspace area for deleted items before permanent removal. Sync includes regular files under trash/ along with notes/ and media/.

Workspace

A workspace is the folder that holds an Alexandria knowledge base. Its known layout includes notes/, media/, trash/, the rebuildable index/ cache, and top-level preferences.