Martijn Benders
the .fab format Fabylon · FAB2 · v0.2

.fab — questions

What is a .fab file?

A .fab is the native book format of the Fabylon suite. It is not a zip of HTML like an EPUB. It is a binary container, and it always begins the same way: sixteen bytes reading FABYLON_BOOK_02!, then two 32-bit lengths, then a zstd-compressed JSON manifest, then an arena of sealed chunks — one per page, one per font, one per image, each with its own CRC32.

The manifest holds the metadata, the page count, the full typographic layout configuration, an index of where every chunk lives, and a copy of page one so a book can show its first page without decompressing the rest. From eight pages up, the compressor is also handed a dictionary trained on the book itself, so patterns the book repeats compress across the whole volume instead of page by page.

Deliberately not in the file: prices, keys, signatures, licence records. Ownership is not a property of the bytes. That lives in the Gate, outside the book.