Aleph.js

Aleph.js (or Aleph or א or 阿莱夫, ˈɑːlɛf) is a fullstack framework in Deno. Inspired by Next.js, Remix and Vite.

The name is taken from the book The Aleph by Jorge Luis Borges.

Aleph.js is modern framework that doesn't need webpack or other bundler since it uses the ES Module syntax during development. Every module only needs to be compiled once, when a module changes, Aleph.js just needs to re-compile that single module. There is no time wasted re-bundling everytime a change is made. This, along with Hot Module Replacement (HMR) and Fast Refresh, leads to instant updates in the browser.

Aleph.js uses modern tools to build your app. It transpiles code using swc in WASM with high performance, and bundles modules with esbuild at optimization time extremely fast.

Aleph.js works on top of Deno, a simple, modern and secure runtime for JavaScript and TypeScript. All dependencies are imported using URLs, and managed by Deno cache system. No package.json and node_modules directory needed.

Features

  • Zero Config
  • No build step
  • File-system Routing
  • Just-in-time Server-side Rendering(SSR)
  • Streaming SSR
  • Support Typescript/JSX in Deno out of the box
  • Built-in Unocss (Automatic CSS)
  • Import Maps
  • Hot Module Replacement (or HMR)
  • Support Middware
  • Custom Module Loader like MDX

Supported Frameworks

Plan to support: Svelte, Lit, etc..

Status

Currently in beta, not ready for production.

License

Under the MIT License.