Make a Ledu book

A Ledu book is a folder of JSON, audio and images. Here is the whole format, with the tools to check a book before you send it.

Download the starter kitSpec as MarkdownJSON Schemas

Spec, schemas, validator, sample book and AI brief · ZIP, 150 KB

From idea to book

  1. 1

    Start from the sample

    Copy the sample book in the kit, rename it and give it a new id.

  2. 2

    Write the sections

    By hand, from your own tools, or with an AI assistant.

  3. 3

    Validate

    Run the validator until it prints 0 errors.

  4. 4

    Send it to Ledu

    We check it on real devices and send you a preview code.

Ideas in one minute

  • A book is a folder (a package). Its book.json is the manifest: what the book is called, its cover, its languages and its table of contents.
  • The table of contents lists sections. Each section is one JSON file of blocks, read top to bottom: a heading, a paragraph, a word list, a dialogue, an exercise and so on.
  • Sections sit directly in the book (sections) or inside chapters (chapters), one level deep. Chapters can carry a group (a unit) for a second level in the contents.
  • A book teaches a target language to a reader of a base language. Base-language text is a localized map ({"en": "…", "zh-Hans": "…"}); target-language text is a plain string in a field named fa.
  • Audio, images and stroke data are files inside the package, named by paths relative to the package folder.

The format, part by part