Skip to main content
LisibleDocumentation
Live previewer

Operate

Build and deployment

Produce the static site, inspect artifacts and deploy Lisible to a host or CDN.

Lisible produces a standalone dist/ directory. No Node or Bun server is required in production: a static host or CDN is enough.1

Reference build

Terminal window
bun run build

The command validates content, generates French and English routes, OpenGraph images, sitemap, feeds, Markdown exports and finally the Pagefind index.

Diagram
100%
Rendering diagram...
Scroll to zoom, drag to pan

Production variables

Before building, verify in lisible.config.json:

  • site.url with the final domain;
  • the repo object for edit links;
  • public Giscus, Bluesky or webmention.io configuration under integrations;
  • secrets injected by the environment and never written to client code;
  • the selected variant, or a LISIBLE_VARIANT environment variable on the platform to override it without editing the file.

Hosting strategies

PlatformOutputRewrites
GitHub Pagesdist/possible base path
Cloudflare Pagesdist/none for generated routes
Netlifydist/static 404 page
Verceldist/static project
Nginx/Caddydist/ files404 fallback, compression

One-click deployment

The root README displays Deploy with Vercel and Deploy to Netlify side by side; vercel.json and netlify.toml preconfigure both. Import the repository at its root: every platform configuration builds the variant selected in lisible.config.json (or by LISIBLE_VARIANT) and publishes the mirrored dist/ directory, without manual dashboard configuration.

Railpack auto-detects railpack.json and Staticfile, Nixpacks auto-detects nixpacks.toml, and the platform-provided PORT is used automatically. The runtime tools are version-pinned, Nixpacks checksum-verifies every downloaded Node, Bun and Caddy artifact, and only the compiled site and its Caddy runtime reach the final image: it serves static routes directly, compresses responses, caches fingerprinted assets for one year and renders the project 404 page for unknown routes.

  • long immutable cache for /_astro/*;
  • short cache for HTML, RSS, sitemap and Pagefind;
  • a Content-Security-Policy matching enabled integrations;
  • Brotli or gzip compression;
  • X-Content-Type-Options: nosniff and a referrer policy.

Post-deployment acceptance

  1. Open a French page and its English mirror.
  2. Verify canonical, hreflang and OG image.
  3. Test Ctrl/Cmd + K.
  4. Navigate without a full reload.
  5. Open RSS, sitemap, robots.txt and llms.txt.
  6. Test a real 404.

The Quality and accessibility page provides the pre-publish checklist.

References

Footnotes

  1. Static mode is Astro’s default; Lisible makes it explicit to keep the artifact predictable.

Documentation maintained with LisibleEdit this page ↗

Actions

Search for an API, a command or a concept.