notewise process is the main command. It fetches a YouTube transcript, sends it to your configured LLM, and writes structured Markdown study notes to disk.
What URL accepts
TheURL argument accepts three input types:
- Single video URL —
https://youtube.com/watch?v=VIDEO_ID - Playlist URL —
https://youtube.com/playlist?list=PLAYLIST_ID - Batch file path — path to a
.txtfile containing one URL per line (e.g.urls.txt)
Options
LLM model string, in LiteLLM format. Overrides the
DEFAULT_MODEL setting in your config file.Default: gemini/gemini-2.5-flashAliases: -mExamples: gpt-4o, claude-3-5-sonnet-20241022, groq/llama3-70b-8192Directory where study notes are written. Created automatically if it does not exist. Overrides the
OUTPUT_DIR config setting.Default: ./outputAliases: -oPreferred transcript language code (e.g.
en, hi, es). Repeat the flag to supply a priority-ordered fallback list. Overrides the default_languages config setting.Default: enAliases: -lThis flag is repeatable — pass it multiple times to specify fallback languages in order:LLM sampling temperature. Controls how deterministic the generated notes are. Must be between
0.0 (most deterministic) and 1.0 (most creative). Overrides the TEMPERATURE config setting.Default: 0.7Aliases: -tMaximum number of tokens per LLM response. Useful for controlling cost on long videos or when using models with tight context windows. Must be at least
1. Overrides the MAX_TOKENS config setting.Default: model default (no limit imposed by notewise)Aliases: -kRe-process a video even if its output already exists in the output directory and the local cache. Without this flag, already-processed videos are skipped automatically.Default:
falseAliases: -FDisable the Rich live dashboard and output plain progress lines to stdout instead. Recommended for CI pipelines, cron jobs, and any environment where a live terminal UI is unavailable.Default:
falseGenerate a multiple-choice quiz file alongside the study notes for each processed video.Default:
falseExport the raw transcript to a file in the video’s output directory. Accepted values:
txt— plain text transcriptjson— timestamped JSON transcript
Path to a Netscape-format cookies
.txt file. Required for processing age-gated, members-only, or other login-restricted videos. Overrides the YOUTUBE_COOKIE_FILE config setting.Default: noneAliases: --cookiesExamples
Output structure
Study notes are written under the output directory, organized by video title:notewise generates a separate notes file per chapter:
Exit codes
| Code | Meaning |
|---|---|
0 | All videos processed successfully |
1 | One or more failures, or the run was interrupted |
When processing a playlist or batch file,
notewise continues on per-video failures and returns exit code 1 at the end if any video failed. Check the session log for individual failure details: notewise logs --tail 50.