AOT, eval-free, web-standards web framework
What is this?
Lightrouter is an AOT-compiled web framework. It reads .lt files,
compiles them to plain ES modules, and renders them via web-standards APIs only.
No eval, no new Function(), no Node-only APIs at runtime.
Runs identically on Node, Bun, Deno, and Cloudflare Workers.
Three render modes
SSG — full static build. ISG — incremental. Stream SSR — ReadableStream-based.
Provide system
Universal data injection. i18n, env, KV, fetched JSON — all unified through
a single provide registry.
Get started
Read the Getting Started guide.