Repolode
rari-build

rari-build/rari

A React Server Components framework with a Rust runtime (HTTP server, RSC renderer, router, embedded V8) as an alternative to Node-based React frameworks.

Open-source alternative to:Next.js

Stars
1,176
Forks
34
Open issues
6
Last commit
3 hours ago

What is it?

rari is a React Server Components framework whose server side runs on a Rust runtime instead of Node. The runtime includes an HTTP server, an RSC renderer and a router with embedded V8. On top of it sits a React layer with an app router, server actions, and streaming SSR with Suspense, plus a build toolchain based on Rolldown-powered Vite bundling.

Developers write standard React with file-based routing, layouts, loading states and error boundaries. Server components are the default, and client components are opted into when needed. The project provides a create-app command to scaffold a project and a dev server with hot module reloading. Pre-built binaries are provided, and it runs on macOS, Linux and Windows.

The README includes benchmark tables comparing rari with Next.js on response time, throughput, build time and streaming TTFB, with the methodology kept in a separate benchmarks repository.

Key features

  • 01File-based App Router with layouts, loading states and error boundaries
  • 02Server components by default with opt-in client components
  • 03Streaming SSR with Suspense boundaries
  • 04HTTP server, RSC renderer and routing written in Rust with embedded V8
  • 05Zero-config setup with pre-built binaries and hot module reloading

Use cases

  • Building React applications that need server-rendered pages with streaming
  • Teams looking for a Rust-based server runtime for React Server Components
  • Projects that want file-based routing and server actions in a React stack

Quick start

  1. 1

    Create a new rari app with npm

    npm create rari-app@latest my-app
  2. 2

    Enter the project directory

    cd my-app
  3. 3

    Start the development server

    npm run dev

Things to know

  • The project is young, with a version still below 1.0 (v0.15.9 in the benchmarks), so expect possible changes.
  • Performance figures come from the project's own benchmarks against Next.js and are not independently verified.

In collections

Topics

FAQ

What is rari?
A React Server Components framework with a Rust runtime (HTTP server, RSC renderer, router, embedded V8) as an alternative to Node-based React frameworks. rari is a React Server Components framework whose server side runs on a Rust runtime instead of Node. The runtime includes an HTTP server, an RSC renderer and a router with embedded V8. On top of it sits a React layer with an app router, server actions, and streaming SSR with Suspense, plus a build toolchain based on Rolldown-powered Vite bundling.
Is rari free to use? What license does it have?
rari is open source under the MIT license. Check the license terms before using it in commercial products.
Is rari still maintained?
Actively maintained. The last commit to rari was on Oct 22, 2026.
What can I use rari for?
Building React applications that need server-rendered pages with streaming Teams looking for a Rust-based server runtime for React Server Components Projects that want file-based routing and server actions in a React stack
How do I install rari?
Create a new rari app with npm: npm create rari-app@latest my-app Enter the project directory: cd my-app Start the development server: npm run dev
Where can I get rari?
The source code and installation instructions are on GitHub: https://github.com/rari-build/rari

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects