Tern turns a project’s source files into finished outputs, such as notes into web pages or diagrams into images, and only redoes the files that changed. The steps for each kind of output come as ready-made templates, so a project lists the templates it uses once and anyone can rebuild it the same way. Reference the README for an overview and the repository layout.
flowchart LR
CFG[.tern/config.toml<br/>templates + overrides] -->|tern -u| INST
subgraph INST [Installed templates]
CONV[Lua converters]
DATA[Template data]
DB[(Profiles + pipelines)]
end
SRC[Source tree] -->|tern| RUN[Pipelines]
INST --> RUN
RUN -->|changed files only| OUT[Output tree]
.tern/ and what is committed