Skip to main content
NoteWise keeps operational state local. The default state root is ~/.notewise, or NOTEWISE_HOME when set.

SQLite schema

The cache DB is <state>/.notewise_cache.db. Schema version is 2.

Logs

Logs are written under <state>/logs as notewise-YYYY-MM-DD_HH-MM-SS.log. The format is structlog key-value text, not JSON.

Pipeline events

The UI dashboard reads typed pipeline events from domain/events.py. Event payloads can include video ID, title, chapter/chunk counts, phase label, error text, and output path.

Error model

All custom exceptions live in src/notewise/errors.py and derive from NoteWiseError. User-facing categories include configuration, validation, YouTube extraction, transcript availability, playlist extraction, IP blocking, LLM generation, OAuth, persistence, and update failures. Use notewise doctor, notewise info URL, and notewise logs --tail 100 before debugging source code.
Last modified on May 1, 2026