LuxelEspañol

LUXEL / DOCUMENTATION / v0.1

Build for the server. Keep the browser light.

Explore compiled views, server-owned interactions, and a shared runtime that carries none of your application code.

01 / BUILDCompile a viewTyped TSX becomes a template with safe slots.Explore →
02 / INTERACTSend an eventTry forms, collections, and updates in the live demo.Try the demo ↗
03 / VERIFYInspect the boundaryRead how sessions, policies, and the runtime fit together.Explore →
IN DEVELOPMENT / V0.2A path toward agent accessThe roadmap proposes generated MCP tools and signed view receipts so agents can work through the same server contracts. These are not available in v0.1.See the roadmap →

Luxel v0.1 · Start

Compile once. Project information. Not application code. Luxel is a framework for CWP (Compiled Web Projection); the model is defined in plain words, with how it differs from SSR, in the README.

Luxel compiles your views once, at build time, into a public HTML template. Per request the server fills the template's slots with escaped text. The browser runs one shared runtime that contains none of your code. It resumes the page that is already painted and sends your events to the server. The server is the only authority: it computes, formats and decides everything.

This guide is for React and Next.js developers who have never seen Luxel.

Read in this order

  1. Getting started: from create-luxel to a first view in production. (En español)
  2. Concepts: compiled projection, slots, resume instead of hydration, and why the browser computes nothing.
  3. Views: TSX views, components, typed binds, layout, styles, static data, determinism.
  4. Forms: Field, Action, Status, Select, and validation on the server.
  5. Collections: lists, tables, server pagination, search, row actions, rows with inputs, versioned lists.
  6. Charts: Chart and Bar: a section, a scale and values, all from the server.
  7. Server: defineLoad, defineEvent, the full ctx API, policies, scopes, versions, idempotency, the EventStore, bindings.
  8. Sessions: session stores, sign-in and sign-out, static public views, rate limits, several nodes.
  9. Internationalization: several languages from catalogs, messages and plurals, formatting by the host.
  10. Polling: refreshing data that changes on the server.
  11. Security: the security model, and what Luxel does not do.
  12. Production: commands and environment variables, then the full checklist.
  13. Tooling: luxel build, luxel check, luxel dev, luxel-host, pack:local, create-luxel.
  14. Migrating from React: a mapping table and worked examples from a real Next.js app, with the honest cost of the move.

Preview

  • Screens: one file per view, with its state, policies, handlers and view (Sprint 12.3; not frozen).
  • Testing screens: luxel test, screen tests without a browser, on the built app and the real host (Sprint 12.3; not frozen).

Reference

Status

Luxel is a research framework. Its first public release is a beta (0.1.0-beta.1), with no external security review. Until the packages are on npm, you install it from tarballs you pack locally (see Getting started). Nothing in this guide claims that Luxel is production ready, or WCAG or OWASP conformant.

Edit this page on GitHub