Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notewise.click/docs/llms.txt

Use this file to discover all available pages before exploring further.

NoteWise reads settings from code defaults, config.env, environment variables, and command flags.

State directory

By default, state lives under ~/.notewise.
File or folderPurpose
~/.notewise/config.envUser config written by notewise setup.
~/.notewise/.notewise_cache.dbSQLite cache and run history.
~/.notewise/logs/Session logs.
~/.notewise/oauth/Default OAuth token storage.
Set NOTEWISE_HOME to move this state root.

Practical precedence

For a command run, command-line flags win. Then environment variables, then config.env, then code defaults.
notewise process "https://youtu.be/VIDEO_ID" --model gemini/gemini-2.5-flash --output ./notes

Common config keys

KeyDefaultMeaning
DEFAULT_MODELgemini/gemini-2.5-flashLiteLLM model string.
OUTPUT_DIR./outputDefault output directory.
MAX_CONCURRENT_VIDEOS5Batch/playlist video workers.
YOUTUBE_REQUESTS_PER_MINUTE10YouTube request limit.
TEMPERATURE0.7LLM temperature.
MAX_TOKENSunsetOptional LLM max output tokens.
YOUTUBE_COOKIE_FILEunsetDefault Netscape cookies file path.
Provider API keys and provider auth keys are also accepted in config.env when they are listed in source constants.
chunk_size, chunk_overlap, and max_concurrent_chapters are code-default settings, not normal config.env keys.

Commands

notewise setup
notewise setup --show
notewise setup --force
notewise config
notewise config-path
notewise edit-config
notewise config masks secrets before printing settings.
Last modified on May 1, 2026