Zenith is a compile-time deterministic framework designed for zero accidental complexity. We believe in sealing the layers between your code and the browser to guarantee performance, stability, and predictable builds.
- Deterministic Substrate: If the input is the same, the output is byte-identical. Always.
- Sealed Layers: Compiler, Bundler, Runtime, and Router are versioned and released in lockstep.
- Zero Runtime Overhead: Templates are compiled to raw DOM operations. No Virtual DOM.
- Type-Safe Contracts: deeply integrated TypeScript support that verifies your code at the architectual level.
Our architecture is strictly layered to prevent drift.
| Layer | Responsibility | Package |
|---|---|---|
| Core | The deterministic substrate and shared utilities. | @zenithbuild/core |
| Compiler | Native Rust compiler. Parses .zen to optimized IR. |
@zenithbuild/compiler |
| Bundler | Deterministic asset emitter and code splitter. | @zenithbuild/bundler |
| Runtime | Thin client for hydration and signals. | @zenithbuild/runtime |
| Router | Type-safe, signal-based routing engine. | @zenithbuild/router |
| CLI | The orchestrator. zenith dev, zenith build. |
@zenithbuild/cli |
Initialize a new Zenith project with our scaffold tool:
# Interactive (Recommended)
npx create-zenith@latest
# Quick Start
npx create-zenith my-app --template basicZenith is open source and built by a community of engineers who value precision.
- Contribution Guide: Read the contract before you push.
- RFCs: Propose architectural changes.
- Issues: Report bugs or contract violations.
Built with precision by the Zenith Team.
