Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

config.toml

crossmem reads configuration from ~/.crossmem/config.toml. If the file doesn’t exist, it’s created with defaults on first run.

Location

~/.crossmem/config.toml

Full reference

[cite_key]
pattern = "[auth:lower][year][shorttitle:1:nopunct]"

Sections

[cite_key]

KeyDefaultDescription
pattern[auth:lower][year][shorttitle:1:nopunct]Pattern DSL for generating cite keys. See cite_key Pattern DSL.

Environment variables

These are not in config.toml but affect crossmem’s behavior:

VariableDefaultDescription
CROSSMEM_OLLAMA_MODELllama3.2:3bOllama model for compile pass
BRIDGE_PORT7600Bridge server port
RUST_LOGinfo (bridge) / warn (MCP)Log level filter

Data directories

crossmem stores all data under ~/crossmem/:

~/crossmem/
  raw/          # Downloaded PDFs + metadata JSON sidecars
  wiki/         # Compiled wiki notes (markdown)