notewise builds up over time — statistics, video history, the SQLite cache, and session log files.
notewise stats
Options
Filter the statistics output to a single LLM model string.Default: all models
Restrict results to the last N days. Accepts a plain integer (
7) or a number suffixed with d (30d).Default: all timeExamples
notewise history
Options
Maximum number of recent videos to display. Must be at least
1.Default: 10Examples
notewise info
Examples
notewise info makes live YouTube requests when a URL is provided. It does not use the local cache and does not write any output files.notewise doctor
- Whether a config file exists and is valid
- Which API keys are present (masked)
- Cache database status and entry counts
- Log directory location and recent log files
- Any detected issues with paths or permissions
notewise update
notewise. If an update is available, it prints the latest version number and the recommended upgrade command for your install method.
0.
notewise version
notewise version and exits.
notewise cache
~/.notewise/.notewise_cache.db. The cache stores transcript data and processing records so that already-processed videos can be skipped on subsequent runs.
notewise cache (or --info)
Show cache database metadata: file path, database size, and entry counts.
Show cache database metadata and entry counts. This is the default behavior when no other flag is provided.Default:
falsenotewise cache --show VIDEO_ID
Show the cached metadata entry for a specific video ID.
Video ID to look up in the cache. Shows the stored metadata for that entry.
notewise cache --clear
Delete the entire cache database. You will be prompted to confirm unless --yes is also passed.
Delete the local cache database.Default:
falseSkip the confirmation prompt when used with
--clear. Has no effect without --clear.Default: falsenotewise cache --prune DAYS
Remove cache entries older than the specified number of days.
Remove cache entries older than this many days. Must be
0 or greater. Passing 0 prunes all entries.Cache subcommands
The same operations are also available as named subcommands:notewise cache info
notewise cache info
notewise cache show VIDEO_ID
notewise cache show VIDEO_ID
notewise cache clear [--yes]
notewise cache clear [--yes]
--yes to skip the confirmation prompt.Skip confirmation and clear immediately.Default:
falsenotewise cache prune [--older-than DAYS]
notewise cache prune [--older-than DAYS]
Remove cache entries older than this many days. Must be
0 or greater.Default: 30notewise logs
notewise run writes a timestamped log file to ~/.notewise/logs/.
notewise logs (default)
List recent session logs. With --tail, streams the last N lines of the latest log to stdout.
Print the last N lines of the most recent session log to stdout. Must be at least
1.Default: not set (lists log files instead)Open the log directory in the system file manager (Finder, Nautilus, Explorer, etc.).Default:
falsenotewise logs clean
Remove all inactive log files instead of only those older than the threshold. The active (current) log file is never deleted.Default:
falseRemove log files older than this many days. Must be
0 or greater. Passing 0 removes all inactive logs (equivalent to --all).Default: 7