Skip to main content

Module engine

Module engine 

Source
Expand description

Core engine modules — all framework-agnostic (no Qt, no Tauri).

Modules§

db
SQLite database layer — schema, CRUD, FTS, and link storage.
error
file_loader
Filesystem scanning — discovers .md files in a vault and computes slugs, titles, and content hashes for incremental sync.
folder_tree
Folder tree builder for the sidebar.
force_layout
Force-directed graph layout using a simple spring-embedder algorithm.
graph
In-memory directed graph of wiki pages and their links.
link_parser
Wiki link parsing, slug generation, and link rewriting.
search
Full-text and title search over the vault’s FTS5 index.
settings
App settings persistence — JSON file in platform config directory.
vault_ops
Core vault operations — pure business logic.
watcher
File watcher — monitors a vault directory for external .md changes and syncs them into the DB and graph. Uses debounced notify events (500ms).