CLI

Recommended install:

npm install -g mdorigin

Project-local install also works:

npm install --save-dev mdorigin

Main commands:

With a project-local install, run the same commands via npx --no-install mdorigin ....

Useful defaults:

Search commands require the optional indexbind package:

npm install indexbind

For indexbind runtime and indexing details, see:

To force the older lightweight backend:

mdorigin build search --root docs/site --embedding-backend hashing

When dev or build cloudflare is given --search, the site exposes:

Search metadata filters are available through:

Content traversal ignores dotfiles and dot-directories. .gitignore does not affect publishing behavior.