0.1.0-beta.1 · beta on npm · no external security review yet
Zero app JavaScript. The server decides.
Luxel is a framework for Compiled Web Projection (CWP): compile once, project information, not application code. It is built for business applications: back-office screens, forms, tables, dashboards and operations. You write views in TSX; they are compiled once into templates; the server fills the holes and is the only authority. Your app ships no JavaScript of its own.
npm create luxel@beta my-app
The problem
Business screens do not need to run in the browser
A single-page app sends your rules, your framework and your state to every browser, then asks the server for data and computes the page again there.
Server rendering with hydration paints the page on the server and then rebuilds it in the browser, so the work and the code are done twice.
Luxel paints the page once, on the server. The browser keeps what it got: a small, shared runtime resumes the page, sends the events your view declares, and writes the values the server answers.
How it works
Three scenes
- 1 · CompileYour TSX view becomes a public template with numbered holes, a manifest and a slot map, hashed and signed at build time. Mistakes React habits make are explained by the compiler, with file, line and column.
- 2 · ProjectOn each request the server fills the holes with escaped text from your handlers. Totals, formats, pagination and rules are computed there, once.
- 3 · InteractButtons send the events the view declares. The server checks them, runs your handler and answers only what changed: the values of the slots that moved.
Numbers, with their conditions
Measured, not promised
One benchmark machine, cold loads on a 4G profile with the CPU slowed four times, 20 runs per target. Each number is a claim of the documentation, with its sprint and its method.
the JavaScript of a real business application (internal pilot) rebuilt from its Next.js 16 version
The 9 data screens both have; same backend, database and seed. Claim 28.
the time to finish a task on that application: logging in to the first screen, searching
From navigation start to the frame that shows the result. Claim 42.
of the server-side CPU per page view (frontend, backend and database together) on its data screens
cgroup CPU per container; 78 % on the login; one person, cold page views: no concurrent users measured yet; the browser's CPU is not counted. Claim 41.
the JavaScript of a Next.js 16 app optimized by hand with Server Components, on three screens
Tasks in 0.76–0.78 × the time and 0.16–0.50 × the server CPU; the largest contentful paint ties on two screens (it lost before the 8 KiB inline-CSS default). Claim 43.
items of a common security list sent by default, against 7–8 of 10 for the other frameworks as they ship
7 headers and 3 cookie flags, nothing configured. Claim 21.
Security
The server is the only authority
- Every event has a policy, every id is checked against its owner before your handler runs, and every write is versioned and idempotent.
- Data reaches a page only through typed slots: text, enumerated attributes, numbers and input values, always escaped. No HTML travels.
- Compiled markup is checked by parsing it, not by patterns, and three browsers build the same tree for everything it accepts (claim 44).
- The build is signed and reproducible across platforms; the host refuses a changed file (claims 32 and 46).
- 12 000 000 differential fuzzing inputs with 0 discrepancies, 96 % of the critical mutants killed, and a red-team exercise that left no high or critical finding open (claims 34–36).
What Luxel does not do: it does not protect data from whoever controls the browser, and it has had no external security review yet.
When it fits
SPA, server rendering with islands, Luxel
| Aspect | SPA | SSR with hydration or islands | Luxel |
|---|---|---|---|
| Where the rules run | In the browser (and again on the server) | On the server, then hydrated components in the browser | On the server only |
| Your code in the browser | All of it | The interactive components | None (ASEF = 0) |
| First paint | After the bundle runs | From the server | From the server, resumed without hydration |
| Each interaction | Fetch JSON, compute, render | Depends on the island | One event; only changed values travel |
When not to use Luxel
- Content sites and blogs: a static site generator is simpler.
- Offline-first apps and editors where the browser must compute (documents, drawings, spreadsheets).
- Rich maps and editors, for now: every recalculation is a round trip (about 165 ms on 4G).
Community
Looking for beta testers
Luxel 0.1.0-beta.1 is a beta, on npm. If you build business screens, try it on one of yours and tell us where the model does not fit. Losses are published next to wins.
Apache-2.0. Made by IntiOps. LinkedIn: coming soon.