Step 1 — Ingest Source Files

Run the ingest script to parse your notes into a SQLite database and export a material.json for LLM use.

# Install dependencies (once)
cd scripts
npm install

# Ingest a single file
node ingest.js ../data/sources/lecture1.md

# Ingest with an explicit config
node ingest.js ../data/sources/lecture1.pdf --config ../data/sources/lecture1.config.json

# Ingest all files in the sources directory
node ingest.js --all

# Export material.json from the current database
node ingest.js --export-material

Supported formats: .md (Markdown), .pdf, .txt (plain text)

Step 2 — Browse Ingested Content

Load your data/notes.db file to inspect what was ingested.

Drop notes.db here

or click to browse

Generate Source Config

Fill in the form below to generate a .config.json file for a source. Place it alongside your source file with the same base name.

Import Quiz JSON

Import a quiz generated by the LLM. It will open on the Take Quiz page.

Drop quiz JSON here

or click to browse — opens on Take Quiz page