GenOER Reader

About GenOER Reader

Every layer of this app — content, code, data, and model weights — is openly licensed, so you can exercise the 5Rs (Retain, Revise, Remix, Reuse, Redistribute) over the whole thing, not just the text. This page shows exactly how, with working links.

The content, and its license

You're currently reading Entrepreneurship, published by OpenStax, licensed Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International — the bundled reference book.

BYNCSA NonCommercial — this content can't be used commercially without permission. ShareAlike — adaptations must carry the same license.

"Entrepreneurship" by OpenStax is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (http://creativecommons.org/licenses/by-nc-sa/4.0/).

How the data was made

book.json is produced from the source OpenStax collection (CNXML/POET format) by openstax-convert — it parses every module into ordered, addressable content blocks, resolves figures and math, and folds figure alt text into block text so chat grounding works even when an image is missing.

graph.json is derived from that same content by openstax-graph — a build-time pipeline that extracts a concept/entity vocabulary and a typed relationship graph (is-a, part-of, depends-on, contrasts-with, related-to, illustrates) using a frontier model, then adversarially verifies every semantic edge with a separate model pass before it ships — nothing in the map or the pathways feature is a raw, unchecked LLM claim.

On the bundled reference book, that pipeline produced 611 nodes and 2,036 edges — and all 481 semantic edges were adversarially verified. Verified edges are badged verified throughout the concept map.

This book's live graph: 366 concepts, 166 entities, 2036 edges.

The model, and the engine running it

Chat and practice questions run entirely on-device via Transformers.js (Apache-2.0) — no server, no API key, nothing you type leaves your browser. The default model list is Qwen3 (Apache-2.0), in tiers sized for different hardware:

  • Qwen3 0.6B (CPU) (0.6B, Apache-2.0) — Runs on CPU/WASM everywhere — compatibility mode. Works without WebGPU.
  • Qwen3 0.6B (0.6B, Apache-2.0) — The recommended default — the exact model and settings of the official Transformers.js WebGPU demo, with q4 and CPU fallbacks if your GPU misbehaves.
  • Qwen3 4B (4B, Apache-2.0) — Best answer quality — the largest download, needs GPU buffer limits above 4 GiB, and has no q4 fallback variant if fp16 compute misbehaves on your GPU.

An advanced setting lets you point the engine at any ONNX model on the Hugging Face Hub — the model layer is itself remixable (verify the license yourself before using a non-default one).

View the data

Every reader section offers "view this section's JSON"; every concept-map node/edge detail offers "view JSON". Here are the whole files for the book currently open:

Make your own

  1. Pick any OpenStax book repo (an osbooks-* GitHub repo) and run openstax-convert on it to get book.json + media/.
  2. Optionally run openstax-graph on the result to get an adversarially-verified graph.json — the map, pathways, and concept highlighting only need this step; the reader and chat work fine without it (page-grounded instead of graph-grounded).
  3. Host the output directory (book.json, optional graph.json, and media/) anywhere static — GitHub Pages, a bucket, a personal site.
  4. Open this app with ?book= followed by that directory's URL — e.g. https://genoer-reader.example/read?book=https://example.com/my-book/ — or use the loader on the landing page, which also accepts a dropped book.json file directly (no hosting needed, processed entirely in your browser).

The 5Rs, concretely

Retain
Every highlight, note, chat transcript, practice session, reading position, and setting you make here is local to your browser and exportable as one JSON file any time — see the notebook or the button below.
Revise
book.json/graph.json are plain, documented data — edit them, run the pipelines on a different edition, or hand-correct a concept definition, then load your version straight back in with ?book=.
Remix
Swap the model (any ONNX repo on the Hub), point the map/pathways at a different book's graph, or recombine sections — the app renders whatever shape of book.json/graph.json you give it.
Reuse
The whole app is a static site — clone the repo, run it locally, or deploy your own copy to any static host at zero cost.
Redistribute
Fork it on GitHub, change what you like (the code is MIT-licensed), and ship your own version — "fork, enable Pages" is the whole deploy story.

Export everything

One file with every highlight, note, chat transcript, practice session, reading position, and setting from every book you've opened in this browser. Import merges non-destructively — it never overwrites or deletes anything already here.

Attribution & privacy

GenOER Reader — free software, no accounts, no analytics. Fork it: https://github.com/kalendar/genoer-reader

No analytics, no telemetry, no cookies, no accounts. The only network calls this app makes after loading are fetching the book you point it at and fetching model weights from Hugging Face's public CDN — both cached for offline use afterward.