Using Marginalia on a phone
Marginalia has a layout made for phones. You write, edit and regenerate parts, edit lorebooks, manage your models and (as an administrator) the installation from the phone browser. The phone layout is not a copy of the desktop one: the same things are laid out in one column, a few windows are simpler and not every extension works in it. This page lists the differences.
For reading a book on a phone, there is also the viewer, which is made for it.
When the phone layout is used
Marginalia looks at the width of the browser window when the page loads. Narrower than 768 pixels gives you the phone layout, anything wider the normal workspace.
-
Tablets and phones in landscape mode are usually wider than 768 pixels and get the desktop layout.
-
The layout is not switched while you work. If you turn the phone or tablet on its side, or resize the window, the layout stays as it was until you reload the page. So to get the larger desktop layout on a tablet or a turned phone, turn it and reload; to go back to the phone layout, turn it back and reload again.
-
A narrow desktop browser window gets the phone layout too, which is handy to try it.
Like the desktop, the phone layout can be added to the home screen like an app (Install app / Add to Home Screen in the browser menu).
The workspace
The tabs on the left are replaced by a drawer. Tap the menu button in the top bar to open it, tap a tab to switch to it. The tab you are on fills the whole screen and its name is shown in the top bar.
The drawer has the same tabs as the desktop - Books, Lorebooks, Settings, Protocols, Inference Providers,
Agents (only for users who may use agents), Resources and Trash - and, for an administrator,
Admin (the button of the desktop is a tab here). At the bottom are the Language selector, Change Password and Logout. Extensions may add buttons, but only
to the places they know on the phone, see
While the Settings tab has unsaved changes, the drawer is locked as on the desktop: save or discard first.
Books
The book list is one column. Above it are the name filter, the tag filter and the sort buttons (Last Modified, Created, Name; tap the active one again to reverse the order), then Add Book, the magnifier (the advanced search: tags to include and exclude, dates, number of parts and text) and refresh. Each book has buttons: the star makes it a favorite, Move to folder puts it into a folder, the pencil opens it and the trash deletes it (into the Trash).
The list shows one folder at a time, as on the desktop: the path of the folder you are in as buttons to go back on, the check box Include subfolders, then the folders above the books (tap one to go in; it shows how many books are beneath it) and, at the top level, the virtual Favorites folder. The name and tag filters search the current folder, or everything below it with Include subfolders. Add Book and the imports put the new book into the folder you are in. The folder you are in is remembered.
A folder is made with the New folder button of the header, and renamed, set up (description, tags, language, model and protocol for its books) or deleted from the ⋮ button of its row. The ⋮ button in the header has the windows that work on many books: Organise (the two panes of folders are one over the other on a phone, there is no keyboard hint), Tag books, Tag folders and the mass changes of folders (model and protocol, language, rename). The language of a book can be inherited from a folder here too, and the Prompts tab shows where each value comes from.
Lorebooks
The phone has the whole lorebook editor of the desktop, laid out in one column. The lorebook is picked in a box; the ⋮ button next to it opens the menu of the lorebook: Add Lorebook, Clone, Delete, Import (a lorebook file, a SillyTavern file, a zip archive of Markdown files, a lorebook another user shares), Export (the lorebook or the SillyTavern format), Tag lorebooks and Edit description. Under the Enabled check box, the token count and the buttons for Search and replace and the activation preview, the section Settings opens to the name, the sub lorebooks, the tags, the scan depth and Share with other users of the lorebook. See Lorebooks.
Below are Add Entry (and the ⋮ with the mass edit and the tags of many entries), the search box and the entries. An entry opens with its enabled box and name on a row; opened it has a form: name, order, tags, filtering mode and text, insertion mode, negative tags, the activation context and its range, Also search the summaries, Prevent recursion, Only through other entries, the content, the note and Delete entry. Everything that is changed is saved at once, as on the desktop. Under the search box are the tag and the status boxes that limit the list; Select entries in the ⋮ menu puts a check box in front of every entry and shows Delete selected for the checked ones. What is not here: the check box Only root lorebooks.
The Lorebook tab of the drawer of the story shows the lore of the book like the desktop tab: a search box, the entries that open to their content, and the pen that edits the text of an entry.
The same editor is used in the Lorebook tab of a book. When the lorebook of the book has sub lorebooks, the box Shown lorebook under it switches the tab to any of them, and back, without changing the lorebook of the book. While an agent works on a book that uses the lorebook, the lorebook is shown as text and nothing in it can be changed.
The button next to the Enabled check box opens Search and replace for the entries of the lorebook, see Entries.
Settings, protocols, providers, resources, trash
-
Settings are the same as on the desktop, laid out in a narrow column; Import Backup as New Book is the button above Discard Changes.
-
Protocols and Inference Providers list each entry as text with the buttons next to it (below it, for providers, which have more of them). The editing dialogs are the desktop ones, so a protocol can be shared from the phone, and the Import from other user button above the list imports a protocol that another user shares.
-
Resources groups the files by the object that uses them (open a group with its arrow), each file is a card (a picture, the name, type, size, date and the buttons to download, replace and delete), with a check box for Delete selected; ticking a group deletes all its files.
-
Trash shows each deleted object as a card (name, type, when it was deleted). The explanation of the trash is behind the i button; the buttons of the filters wrap to a second line. Restoring works as described in Trash.
The book window
Opening a book shows it full screen. The close button is the ✕ in the top corner, and the tabs - About, Prompts, Lorebook, Story, Branch view, Backups - are one row you scroll sideways. They do the same as on the desktop (see Books), with their fields in one column.
The story
The story tab is one column of parts. The differences from the story editor:
-
The outline (and the tabs extensions add next to it, such as the Author's Note) is in a drawer. Open it with the button at the top left.
-
The Summaries button and the settings menu (⚙, with Change Styles For Text, Search and replace, Import, Mass delete and Export story) are in the top bar, not at the bottom.
-
The + button for a new part is at the bottom.
-
The Summaries window has its menu bar (Search and replace, Create summaries..., Resummarize all summaries, Export Summaries, Import Summaries) in a row of its own; on a narrow screen the items are behind the ⋯ button. Importing summaries is the same window as on the desktop, in the width of the screen.
-
Annotations: the Annotations tab is in the drawer next to the outline; a tap on an underlined passage opens its note; Annotate part and Annotate with AI are in the menu of the part, Annotate selection in the menu of a long press on the selected text.
-
Search and replace opens the same window as on the desktop, with the fields and buttons below each other:

-
A part is only its text under one small line with two icons. The first is the part's menu (edit, regenerate, swipe, branch, history, show prompt, images, summary, delete); the second opens a popup with what the desktop shows in the column on the right of a part: the ids, model, protocol, tokens, words and the turn details.
-
History in the menu of a part opens the version history as a full screen page: the versions are cards above the selected version, with the same actions as on the desktop.

-
Statistics is in the settings menu of the story (the statistics of the book) and a button in the header of the list of books (all books). The window is a full screen page; its calendar shows the last 16 weeks (a year on the desktop), see Writing statistics.

-
The summaries overview keeps a fixed width and scrolls sideways.
Administration
An administrator has the tab Admin in the drawer, with the same tabs as the desktop page in a row you scroll sideways: Users, Database Backups, Cleanup, Resource Files, Help assistant, Agents, Update and Extensions. The lists (users, backups, extensions) are cards with their buttons under the text, and the toolbars wrap onto a second line. Installing an extension (Load Extension) and uploading a database backup open the file chooser of the phone. Other users do not get the tab.
What is missing
The phone does what the desktop does, with these differences:
Everything not in this list works the same as on the desktop: generating, editing, regenerating, swiping and branching parts, summaries and meta summaries, book prompts, the branch tree, book backups, export, resources, the trash, lorebooks and the administration.
Extensions
The phone layout has its own classes, so an extension has to support it explicitly. The extensions that come with Marginalia:
Extensions from other sources may behave differently or add nothing at all on the phone; they appear where their author made them work. If an extension seems to be missing, check it in the desktop layout. How an extension supports the phone is described in the developer manual.
Tips
-
Writing long text on a phone is easier in landscape mode. The layout stays the phone one after the turn, until you reload the page.
-
If you need something that is missing on the phone, turn the phone on its side and reload, or open Marginalia in a wider window; your books and settings are the same everywhere.
-
To reach Marginalia from a phone it has to run as a server: the desktop app listens on your computer only.