LEXWEAVEREFERENCE
LEXWEAVEREFERENCE
Engine homePackagesLexposer

Get started

ActivityPlan the next exposureTerminalQuickstart

Architecture

Packages

Specification

Quickstart

Run the complete compile and render loop locally in one minute.

Run the offline demo

The repository includes a mock provider, sample text, and glossary. No API key is required.

git clone https://github.com/lexweave-hq/lexweave
cd lexweave
npm install
npm run build
npm run demo

The demo writes a portable .lexweave.json bundle and renders an adaptive HTML view.

Compile your own text

node packages/cli/dist/lexweave.cjs compile book.txt \
  --source zh \
  --target en \
  -o book.lexweave.json

Configure an Anthropic or OpenAI provider for a real compile. The provider is used only to produce the bundle.

Render and inspect

node packages/cli/dist/lexweave.cjs render book.txt \
  --bundle book.lexweave.json \
  -o book.html

node packages/cli/dist/lexweave.cjs inspect book.lexweave.json

Rendering does not require the original model provider or a network connection.

Plan the next exposure

Turn reader-local signals into a deterministic replacement plan.

Compile and read boundary

Keep semantic analysis ahead of reading and deterministic decisions inside it.

Table of Contents

Run the offline demo
Compile your own text
Render and inspect