notecast
A local note engine that uses a small LLM to organise your notes into a knowledge graph. Point it at a folder of Markdown or text files: it summarises each note, tags it with keywords, sorts it into themes, splits themes that grow too big into subthemes, and links themes that keep appearing together. Ollama-first, CLI-only, one SQLite file, no cloud.
Docs: https://muratcanozdemir.github.io/notecast-py/
uv tool install notecast # or: pipx install notecast
ollama pull llama3.2:3b
ollama pull nomic-embed-text
Python 3.12 or newer. Needs Ollama running locally,
and Graphviz for notecast graph
(apt install graphviz / brew install graphviz).
What it does
export NOTECAST_DB=~/.notecast.db # one database for all your notes
notecast theme add Tech --base # anchors for classification
notecast theme add Personal --base
notecast add-batch ~/notes -x README.md # re-running skips unchanged files
notecast scan # run the stages that are due
notecast scan --stage classify -v # or one stage at a time
notecast status
notecast search "kubernetes" --similar # full text + similar notes by embedding
notecast theme list
notecast graph # → notecast-graph.svg
add ─► pending ─[process]─► processed ─[classify]─► scanned ─[organize]─► organized
[consolidate]: themes only
| Stage | |
|---|---|
| process | one LLM call per note: summary + keywords; plus an embedding |
| classify | each note into the theme that fits it best (up to 3) |
| organize | themes over split_threshold notes get 2–4 subthemes, reusing existing ones |
| consolidate | themes sharing most of their notes get linked; empty ones pruned; no LLM |
If Ollama goes away mid-scan, the scan stops and leaves notes queued; bad model output fails only the note it was for. See The pipeline.
Examples
examples/ has a quickstart, a folder import, a nightly cron
job and a Python script, with sample notes. The test suite runs all of
them against a stand-in Ollama.
Differences from the original
A Python port of AlexWasHeree/NoteCast (TypeScript/Bun):
- No Bun/TypeScript: pure Python, standard library where possible.
- No YAKE: keywords come from the LLM during summarisation (one call instead of two).
- No LanceDB: vectors stored as JSON in SQLite, cosine similarity in pure Python. Fine for <10k notes.
- No server: CLI only, talks directly to SQLite.
- No .env / API keys: Ollama at
localhost:11434by default; settings in SQLite vianotecast config set. - FTS5: full-text search via
notecast search. notecast scan: auto-chains process → classify → organize → consolidate based on thresholds.- Graphviz:
notecast graphrenders the theme DAG.
Development
uv sync --group dev
uv run pytest
See Development for checks, tests and releases.
Call graph
Symbol-level coupling across the repository, coloured by Leiden community (generated by codegraph-lsp):
License
MIT
Metadata
Release files for notecast 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| notecast-0.1.0.tar.gz | 52.6 kB | With provenance | Details for notecast-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| notecast-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for notecast-0.1.0-py3-none-any.whl |
Total release size: 77.0 kB
Release files / notecast-0.1.0.tar.gz
| Download URL | notecast-0.1.0.tar.gz |
|---|---|
| Size | 52.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4beaa4678befd58edeba72617456cf89bc61d5c6718688797d48bd6f7bd47165
|
|
BLAKE2b-256 checksum How to use checksums |
4aaae800e2c1ffc61ac6bb9c95f07217728a02b04e3b01f8157a0b259a8e61bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / notecast-0.1.0-py3-none-any.whl
| Download URL | notecast-0.1.0-py3-none-any.whl |
|---|---|
| Size | 24.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3936bda824e49509206c134ffe854ede53891f9062f63843c66d8034d3e4f896
|
|
BLAKE2b-256 checksum How to use checksums |
6b65f42d5fc1781680fb360adb6c60d717d11b2834f95bddffd95a59f92f22e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for notecast 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for notecast-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.