Extensions

Extensions add features to Marginalia without changing the application itself. Five extensions come with Marginalia:

Extension What it adds
Author's Note A note to the model, inserted into every generation of the book.
Chapter Marker Chapter titles in the story outline, from Markdown headings in the parts.
Lorebook VCS Revision history for lorebook entries.
Reviewer Reviews of story parts written by the model - reader reactions, critique.
Side Query A chat with the model about your book, next to the story.

Installing

Extensions are installed by an administrator for the whole Marginalia installation, in Admin → Extensions: they are JAR files, uploaded with Load Extension (.jar). See Managing extensions for the details.

Once installed, an extension is available to every user. An extension loaded while Marginalia runs shows up in windows opened afterwards: close and reopen a book (or reload the page) to see it.

The five extensions above are part of the Marginalia source code (marginalia/plugins) and are built separately; see the plugins README.

Extension settings

Extensions with settings add a section to Settings → Extension Settings (the third tab of the Settings page). These settings belong to your account, like the rest of Settings, and are saved with its Save button.

Where extension data is kept

Extensions keep their data together with the data it belongs to - reviews with the story part, conversations with the book, revisions with the lorebook - so it is included in database backups. Whether it is also part of book backups and exports is described on each extension's page.

Uninstalling an extension doesn't delete its data: installing it again brings it back.