enekos/Marrow Semantic Graph

Build a semantic "related articles" graph for a Markdown-based static site.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 16, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: enekos/marrow@c413ccf64010bad4f4f9e51d9435383e62c97b58 # v0.3.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
content-dirDirectory containing the site's Markdown files to index.yes
source-nameLogical source name used inside the Marrow DB.nosite
default-langDefault language code for documents without front-matter lang (en, es, eu).noen
output-pathPath (relative to the workspace) where related.json will be written.norelated.json
db-pathPath for the SQLite DB. Defaults to a file under RUNNER_TEMP so it is discarded after the job.no""
embedding-providerEmbedding provider (mock or openai). Use openai for production-quality semantic vectors.nomock
embedding-modelEmbedding model (e.g. text-embedding-3-small for OpenAI). Ignored for mock.notext-embedding-3-small
embedding-base-urlOverride base URL for OpenAI-compatible embedding endpoints.no""
openai-api-keyOpenAI API key. Required when embedding-provider is openai.no""
limitNumber of related documents per document.no10
w-semWeight — semantic cosine.no0.55
w-lexWeight — lexical Jaccard salience.no0.20
w-linkWeight — internal link graph.no0.15
w-catWeight — shared taxonomy/category.no0.10
mmr-lambdaMMR relevance/diversity tradeoff (1 = pure relevance, 0 = pure diversity).no0.72
salient-top-kTF-IDF salient terms retained per document.no24
taxonomy-fieldsComma-separated front-matter fields used for shared-taxonomy signal.nocategories,categories_meta
taxonomy-reasonPrefix for taxonomy reasons in the output (e.g. "category" -> "category:politika").nocategory
no-semanticSet to "true" to disable the semantic signal entirely (lex+link+cat only).nofalse
workersConcurrent per-source workers used by the related builder.no8
marrow-versionMarrow release tag to install (e.g. v0.5.0). Defaults to the latest release.nolatest
namedescription
related-json-pathAbsolute path to the generated related.json file.
db-pathAbsolute path to the SQLite DB produced by the sync step.
document-countNumber of documents present in the graph output.