A curated collection of religious, philosophical, and ancient texts exploring humanity's origins and cosmic connections.
This repository contains structured book data for the Wheel of Heaven library reader. Texts are organized by tradition and include multilingual translations.
| Tradition | Description | Status |
|---|---|---|
| Raëlian | The Messages from the Elohim | Active |
| Biblical | Hebrew Bible, New Testament, Apocrypha | Planned |
| Ancient Astronaut | Key works in the genre | Planned |
| Ancient Texts | Sumerian, Egyptian, Vedic sources | Planned |
- The Book Which Tells the Truth (1973) - Raël's first contact account
data/library/
├── README.md # This file
├── catalog.json # Central index of all books
│
├── book-slug.json # Single-file format (small books)
│
└── book-slug/ # Split format (large books >100KB)
├── _meta.json # Book metadata
├── chapter-1.json # Chapter 1 content
├── chapter-2.json # Chapter 2 content
└── ...
For smaller books (<100KB), all content is in one JSON file:
{
"slug": "book-slug",
"code": "BSL",
"titles": {
"en": "English Title",
"fr": "Titre Français"
},
"primaryLang": "fr",
"publicationYear": 1973,
"chapters": [
{
"n": 1,
"refId": "BSL-1",
"title": "Chapter Title",
"paragraphs": [...]
}
]
}For larger books (>100KB), content is split into separate files:
_meta.json - Book metadata:
{
"slug": "book-slug",
"code": "BSL",
"titles": {...},
"primaryLang": "fr",
"chapterCount": 7,
"paragraphCount": 1029,
"chapterFiles": [
{"n": 1, "file": "chapter-1.json", "title": "...", "paragraphs": 62},
{"n": 2, "file": "chapter-2.json", "title": "...", "paragraphs": 113}
]
}chapter-N.json - Chapter content:
{
"n": 1,
"bookSlug": "book-slug",
"bookCode": "BSL",
"refId": "BSL-1",
"title": "Chapter Title",
"paragraphs": [...]
}The catalog.json file is the central index:
{
"version": "1.0",
"updated": "2025-01-24",
"traditions": [...], // Religious/philosophical traditions
"collections": [...], // Book collections within traditions
"books": [...], // All books with metadata
"referenceFormats": {...} // Canonical reference format templates
}{
"id": "raelian",
"code": "RAE",
"name": {"en": "Raëlian Corpus", "fr": "Corpus Raëlien"},
"description": {"en": "..."},
"order": 1,
"icon": "message-circle"
}{
"id": "raelian-messages",
"tradition": "raelian",
"code": "MSG",
"name": {"en": "The Messages"},
"order": 1,
"books": ["the-book-which-tells-the-truth", "..."]
}{
"slug": "the-book-which-tells-the-truth",
"code": "TBWTT",
"tradition": "raelian",
"collection": "raelian-messages",
"order": 1,
"author": "Raël (Claude Vorilhon)",
"publicationYear": 1973,
"primaryLang": "fr",
"availableLangs": ["fr", "en"],
"completeLangs": ["fr", "en"],
"chapters": 7,
"paragraphs": 1029,
"tags": ["contact", "genesis", "elohim"],
"status": "complete",
"format": "split"
}Status values:
complete- Fully digitized and translatedpartial- Some chapters or translations availableplanned- Scheduled for future digitizationdraft- Work in progress
Format values:
single- Single JSON file (default)split- Directory with per-chapter files
{
"n": 1,
"refId": "TBWTT-1:1",
"speaker": "Narrator",
"text": "Original language text...",
"i18n": {
"en": "English translation...",
"de": "German translation..."
}
}Format: {BookCode} {Chapter}:{Paragraph}
Examples:
TBWTT 1:5- The Book Which Tells the Truth, Chapter 1, Paragraph 5GEN 1:1- Genesis, Chapter 1, Paragraph 1
Reference IDs in data:
- Book:
TBWTT - Chapter:
TBWTT-1 - Paragraph:
TBWTT-1:5
-
Add catalog entry in
catalog.json:{ "slug": "new-book-slug", "code": "NBS", "tradition": "tradition-id", "collection": "collection-id", "status": "planned" } -
Create book JSON as
new-book-slug.json(single format) or directory (split format) -
Run canonical refs script:
python scripts/add-canonical-refs.py new-book-slug
-
Split if large (>100KB):
python scripts/split-book-chapters.py new-book-slug
-
Update status in catalog to
completeorpartial
Structured version and provenance metadata is documented in
docs/version-provenance.md. Validate migrated
records with:
python3 scripts/validate_version_provenance.pyJSON Schema files are in /schemas/:
catalog.schema.json- Catalog validationbook.schema.json- Single-file book validationbook-meta.schema.json- Split format metadatachapter.schema.json- Split format chapterstudy-data.schema.json- User study data export
Validate with any JSON Schema validator:
npx ajv validate -s schemas/book.schema.json -d data/library/book.json| Script | Purpose |
|---|---|
scripts/add-canonical-refs.py |
Add refId fields to paragraphs |
scripts/split-book-chapters.py |
Split large books into chapters |
scripts/validate_version_provenance.py |
Validate structured version and provenance metadata |
primaryLang- Original language of the texti18nobject in paragraphs contains translationsavailableLangs- Languages with any contentcompleteLangs- Languages with full translation
Language codes follow ISO 639-1/639-2 (e.g., en, fr, he, gez).
We welcome contributions of:
- New book digitizations
- Translation improvements
- Corrections to existing texts
Please ensure texts are either in the public domain or properly licensed for redistribution.
For the full JSON schema reference (per-chapter file structure, paragraph
refIds like TBWTT-1:5, i18n slots, speaker types), see
docs.wheelofheaven.world/reference/library-book-format.
For the authoring workflow — catalog entries, adding a new book to www
and the API — see
Contributing → Library Book.
Content is provided under CC0-1.0 (Public Domain) where applicable. Individual texts may have their own licensing requirements noted in their metadata.