Skip to main content
LisibleDocumentation
Live previewer

Getting started

Commands

Quick reference for development, publishing, comparison, testing and quality scripts.

Run every command from the repository root. Proxy scripts forward the action to the active variant.

Daily cycle

CommandPurpose
bun run initguided configuration and installation
bun run devAstro server for the active variant
bun run buildstatic generation into dist/
bun run previewlocal preview of the latest build
bun run variantprint the active variant

Compare variants

The live interactive preview is the fastest way to compare a synchronized public revision and share its settings. To compare the source currently checked out on your machine, run:

Terminal window
bun run preview:all

The command prepares all six variants, then serves them on ports 4321 through 4326. It is designed as a complete workflow, not a thin wrapper around stale builds.

Create a post

Terminal window
bun run new-post mon-premier-article
bun run new-post my-first-post --locale en
bun run new-post paired-post --translate
bun run new-post plain-markdown --markdown

The scaffolder refuses to overwrite an existing file and creates a valid .mdx draft by default. --markdown is the explicit opt-in for a .md file.

Generated fields are documented in Content model and the Complete reference.

Cross-variant checks

Terminal window
bun run check-links
bun run check-assets
bun run typecheck
bun run check:all

check-links and check-assets target the active variant. typecheck runs astro check on every variant. check:all first validates Open Graph assets, editorial style and cross-variant conformance, then typechecks, builds and validates links, asset budgets and Open Graph output for all seven. Pass a variant name to narrow the run:

Terminal window
bun run check-variants organique

Tests, linting and drift

CommandPurpose
bun run testunit tests for the shared helpers
bun run test:e2ePlaywright end-to-end suite against built variants
bun run lintBiome lint and format check
bun run formatapply Biome formatting
bun run check-styleeditorial rules: no em or en dash, no emoji in documentation
bun run check-driftcompare built HTML against a saved baseline (--save captures it)

test:e2e expects the tested variants to be built and Chromium installed (bun x playwright install chromium). Quality and accessibility explains when each check earns its place.

Dependency management

The repository is a Bun workspace: a single bun install at the root covers the tooling, the shared core, every variant and the npm packages. The normal root workflow installs missing dependencies automatically.

Documentation maintained with LisibleEdit this page ↗

Actions

Search for an API, a command or a concept.