Getting a book into Ledu
- Build the package and run the validator until it prints
0 error(s). - Ask for a publisher account at https://ledu.app/publishers/request/.
- Send the package. Ledu checks it again, opens it in the app on real devices and sends you a preview code so you can read it in the Ledu app before anyone else.
- When you approve it, Ledu publishes it. Each later upload raises
meta.version.
Public reading previews
Publishers can enable a free excerpt of a paid edition in Projects → Public preview.
Choose the first N pages or lessons. A page is one section in contents order. Lessons are
lesson-N chapters when that naming convention is used, otherwise chapters in contents order.
The setting is "sample": {"unit": "pages", "count": 3} or
"sample": {"unit": "lessons", "count": 1} in the work’s publishing settings.
Omit the setting or set it to null to disable it for the next release.
The publisher builds both archives together. The full manifest records sampleSelection so
the choice belongs to that immutable release. The sample manifest has "sample": true and
format level 4, with only the selected section references. Its package contains those sections,
their media and the lexicon entries they use. It preserves the full edition’s ID and version,
which lets a purchase carry reading progress forward.
The catalogue’s sample metadata contains sizeBytes, sha256, pageCount, lessonCount
and minFormat. Readers obtain the sample through POST /v1/download with sample: true.
This grants a signed link to books/<edition>/<version>/sample.aar. A public sample is available
while the paid edition is listed. The full archive follows purchase verification.