A free, open-source, self-hosted place to write a novel.
README.md

The example manuscript #

Fablewright ships one sample project so a new instance is not an empty room. Its prose is The Wonderful Wizard of Oz by L. Frank Baum, first published in 1900.

  • book.json holds the twenty-four chapters and Baum’s 1900 introduction.
  • manifest.ts holds the structure around the prose: parts, chapters and sections, multi-scene splits, synopses, viewpoints, draft statuses, storylines, plot cards and the story bible.
  • src/lib/server/seed.ts joins the two and writes the database rows.

Origin and licence #

The text came from Project Gutenberg’s public-domain edition of the 1900 novel (eBook #55). Baum died in 1919, and the 1900 text has no copyright in the United States or in countries with a life-plus-70 term.

The text keeps its curly quotation marks, em-dashes, the bold chalk message on the Witch of the North’s slate in Chapter II, the italicised Golden Cap charm in Chapters XII and XIV, and the line breaks in the China Clown’s verse in Chapter XX.

What was left out #

  • The illustrations and their captions. The editor stores no images in a scene.
  • The table of contents and title-page dedication. Baum’s April 1900 introduction is a front matter page (matter: 'front') that reads before Part One.

What was added #

Baum wrote no parts and gave no scenes a title. The sample divides the book into two parts after Chapter XII, splits six chapters with natural narrative breaks (Chapters III, VII, XI, XII, XV and XXIII) into two scenes each, and gives every chapter and scene a synopsis, viewpoint, draft status, plot card and story-bible links in manifest.ts.

Editing #

A chapter or matter page title in manifest.ts must match the same title in book.json, and a second scene in a chapter must name the opening words of its first paragraph via startsWith. The seed stops with an error when either does not match, and src/lib/server/seed.spec.ts seeds the example, so a mismatch fails in tests.