Getting started
Codex organises your writing into three layers.
- A universe holds everything a set of stories shares: the characters, places, and lore. Start here.
- A story lives inside a universe. A universe can hold one story or a whole series.
- A scene is where you write. Scenes group into chapters, and chapters make up a story.
Your first story
- On the library page, open the "New" menu at the top right and choose "New universe", give it a name, and create it. Every new universe starts with two entity categories, "Lore" and "Faction"; you can rename or replace them later.
- Back on the library, open the "New story" menu on the universe's own row and choose "New story in ..." to create a story. A universe with no stories yet offers the same menu in the space its stories will fill.
- Open the story and add a scene. The scene editor is where your prose goes.
Each story on the library shows a cover. Until you upload cover art, the cover is the story's title on a colour picked for it when you created it; change the colour under "Cover colour" in the story's settings. Once you have more than three stories, a "Recent" row at the top of the library shows the three you edited last. If you do not use covers, switch the library to "No covers" or "Table" with the buttons at the top of the library page, or under Display on your account page.
For a story that does not belong to any world, choose "New standalone story" from either the library's "New" menu or the "Standalone stories" section's own menu instead. That universe is created for you the first time you add a story there, and the story works like any other.
That is enough to start writing. When you are ready, the planning tools help you keep track of who and what is in your world, and publishing turns a finished story into a public reading page.
Each of those has its own help article. Select the "?" at the top right of any page to open the guide for what you are looking at; select it again to go back to what you were doing. The "?" next to a heading opens the guide for that section.
Deleting things
Right-click a scene in a story's sidebar to delete it; it sits in the story's "Deleted scenes" list until you restore it or delete it forever. Notes attached to a scene you delete forever stay in the story's notes. Deleting a universe (from its settings) keeps it in a "Deleted universes" list on the library for 30 days, restorable with one click; after that it is gone for good, along with everything in it. While a universe is deleted, review links to its stories stop working; restoring it brings them back. Deleting a story (from the Danger zone in its settings) works the same way: it goes to a "Deleted stories" list on the library for 30 days, where "Restore" brings it back whole and "Delete forever" removes it at once. While a story is deleted, it is hidden from your library, search, and the Assistant, its published edition is off your public page, and its review links stop working; restoring it brings them all back. You can give a new story or universe the same name as a deleted one straight away. If you later restore the deleted one, it keeps its old web address unless something else is using it by then, in which case it gets a new address made from its title. The stories inside a deleted universe keep their addresses until the universe is deleted for good, so a new story with one of those names gets a number added to its address.
Moving work in and out
Everything you write can leave as markdown: each story's settings offer a zip of its scenes, a universe's settings bundle the whole world, and your account page has a download of everything you own.
A story export zip can also come back in. Choose "Import a story" from a New menu on the library, or from the universe's settings under "Import and export". A dialog opens: pick the zip or drag it in, and a preview appears at once - how many chapters, scenes, words, and notebook notes are coming, and how each story note will be handled. Notes from the story's Notes view come back as notes on the new story, still pinned and still attached to the same scene. A note whose character, place, or lore entry already exists in the universe (matched by name) attaches to it; a name with no match creates a new entry; a name shared by more than one entry is skipped, and the preview says so. Nothing is written until you press "Import story", and the import always creates a new story, even if one with the same title exists.
You can bring in a manuscript written elsewhere the same way. Pick a Word document (.docx) or an EPUB (.epub) in that same "Import a story" dialog. Codex reads the chapters and scenes from the way the document marks them: chapter headings, "Chapter 1" lines, and scene breaks such as a centered row of asterisks. When a document has no such markers, the whole text comes in as a single scene that you can split up afterward. Pictures embedded in the document come along when image storage is set up; the preview tells you if any will be left out. As with a zip, you check the preview before anything is written.
To bring in a story you posted on Archive of Our Own, open the work there, choose Download, pick EPUB, and import that file the same way. Codex recognises the download: the chapters and their scenes come in as prose, the summary becomes the story's description, a chapter summary goes on its chapter, and an Explicit or Mature rating marks the story as adult content. The tags, the source link, and your notes (the work's notes, each chapter's notes, and the end notes) come in as notes on the story, with chapter notes attached to that chapter's first or last scene, so none of them end up in the prose.
Jumping around
Press Ctrl+K, or use the Search button in the top bar. Type to find any universe, story, scene, character, place, or lore entry you own, and press Enter to open it. The search also looks inside your prose once you type three or more characters: matches in scene text show a snippet, and opening one selects the match in the editor. The same box lists commands for where you are, such as creating a scene, switching focus mode on, or reading the whole story as one document.
Opening a story without picking a scene resumes the scene you changed last, counting a new status, a move, or a restore from the trash as well as writing.
Web addresses
Universes and stories get readable addresses made from their names, such as /universes/ardenfall or /stories/the-toll, so you can edit the address bar to move around. The address follows the name: renaming a universe or story in its settings moves it to a new address, and the old one stops working. Following an old link shows a "Page not found" page with a way back to your library, where you can open it again.