Skip to content

Examples

Complete scripts in examples/, with a small set of sample notes in examples/notes/. The test suite runs all of them against a stand-in Ollama server, so they keep working as notecast changes.

Variable Default
OLLAMA_URL http://localhost:11434 where Ollama listens
NOTECAST_DB a new database in a temporary directory the database to use
NOTECAST notecast the command to run, e.g. uv run notecast from a checkout
Script Shows
quickstart.sh base themes, a folder import, each pipeline stage in turn, status, search with similar notes, the graph
import_folder.sh --dry-run and titles, excludes, re-importing unchanged and edited files; needs no model
nightly_scan.sh a cron job: import, retry failures, scan in auto mode, a non-zero exit if Ollama is down
library_usage.py the Python API: building a graph, printing it as an outline, similar notes

Run one from a checkout:

1
2
3
uv sync
NOTECAST="uv run notecast" examples/quickstart.sh
uv run python examples/library_usage.py