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

Installation

From source

cargo install --path .

Or directly from GitHub:

cargo install --git https://github.com/crossmem/crossmem-rs

Dependencies

crossmem requires the following tools for PDF capture and compilation:

ToolPurposeInstall
pdftotextFallback PDF text extractionbrew install poppler
markerPDF parsing with bounding boxes (default)pip install marker-pdf or uvx marker-pdf
OllamaLocal LLM for paraphrase/implicationollama.com

Ollama model setup

crossmem uses llama3.2:3b by default. Pull the model before your first compile:

ollama pull llama3.2:3b

Override the model with the CROSSMEM_OLLAMA_MODEL environment variable:

CROSSMEM_OLLAMA_MODEL=mistral crossmem compile vaswani2017attention

Verify installation

crossmem --version