Skip to content
Projects

rari-build/rari has 1,181 GitHub stars and 34 forks. GitHot measured 0 stars in 24 hours and +2 in 7 days. Last checked 2026-11-11 08:18 UTC. Last push 2026-10-22.

How these counts are measured

rari: High-performance React Server Components framework powered by a Rust runtime, delivering 14.5x faster response times (0.12ms vs 1.74ms) and 53.1x higher throughput (89,371 vs 1,683 req/sec) than Next.js with zero-config setup.

What you can do

  • App Router - File-based routing with layouts, loading states, and error boundaries
  • Server-Side Rendering - Pre-rendered HTML with instant hydration
  • React Server Components - Server components by default, client components when you need them
  • Rust-powered runtime - HTTP server, RSC renderer, and routing written in Rust with embedded V8

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
rari

Runtime Accelerated Rendering Infrastructure

npm version License: MIT Discord CodSpeed

rari is a React Server Components framework running on a Rust runtime. It has three layers: a Rust runtime (HTTP server, RSC renderer, and router with embedded V8), a React framework (app router, server actions, streaming/Suspense), and a build toolchain (Rolldown-powered Vite bundling, TypeScript 7 type checking). You write standard React, the runtime underneath is Rust instead of Node.

Features

  • App Router - File-based routing with layouts, loading states, and error boundaries
  • Server-Side Rendering - Pre-rendered HTML with instant hydration
  • React Server Components - Server components by default, client components when you need them
  • Rust-powered runtime - HTTP server, RSC renderer, and routing written in Rust with embedded V8
  • Zero-config setup - Works out of the box with pre-built binaries
  • Hot module reloading - Instant feedback during development
  • node_modules support - Standard npm package resolution without npm: specifier
  • TypeScript-first - Full type safety across server/client boundary
  • Cross-platform - Supports macOS, Linux, and Windows
  • Streaming SSR - Progressive rendering with Suspense boundaries
  • Loading States - Automatic loading skeletons during navigation

Quick Start

Create a new rari application in seconds:

npm create rari-app@latest my-app
cd my-app
npm run dev

That's it! Your app will be running at http://localhost:5173.

Visit rari.build/docs for complete documentation, guides, and examples.

Documentation

Read the full documentation to learn more about:

  • Getting started with rari
  • App Router and file-based routing
  • Server Components and Client Components
  • Server Actions and data mutations
  • Streaming SSR and Suspense
  • Deployment and production optimization

Performance

rari delivers exceptional performance that significantly outperforms traditional React frameworks:

Head-to-Head Comparison vs Next.js

Benchmarks last updated: August 10, 2026 (rari v0.15.9)

Response Time (Single Request):

Metric rari Next.js Improvement
Average 0.12ms 1.74ms 14.5x faster
P95 0.12ms 2.44ms 20.3x faster
Bundle Size 287 KB 573 KB 50% smaller

Throughput Under Load (50 concurrent connections, 30s):

Metric rari Next.js Improvement
Requests/sec 89,371 1,683 53.1x higher
Avg Latency 0.56ms 29.73ms 53.1x faster
P95 Latency 0.90ms 36.70ms 40.8x faster
Errors 0 0 Stable

Build Performance:

Metric rari Next.js Improvement
Build Time 1.12s 3.88s 3.5x faster
Bundle Size 287 KB 573 KB 50% smaller

Streaming (/stream, Suspense):

Metric rari Next.js Improvement
TTFB 1ms 12ms 11.1x faster
First content 107ms 108ms Comparable
Last byte 1007ms 1009ms Comparable*
Resolved cards 10/10 10/10 Comparable
Throughput 24.99/s 24.99/s 1.0x

*Last-byte time is dominated by intentional ~1000ms card delays, not framework overhead.

All benchmarks are reproducible. See benchmarks/ for methodology and tools.

Contributing

We welcome contributions! Here's how you can help:

Community

Sponsors

rari is made possible by the support of these companies:

Namespace - High-performance cloud infrastructure. CI/CD runners, remote Docker builders, and managed dev environments on bare-metal hardware.

Neon - Serverless Postgres. Autoscaling, branching, and scale to zero.


Interested in sponsoring rari? Get in touch or support us on GitHub Sponsors.

License

MIT License - see LICENSE for details.

Explore related projects