Runtime Accelerated Rendering Infrastructure
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.
- 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
Create a new rari application in seconds:
npm create rari-app@latest my-app
cd my-app
npm run devThat's it! Your app will be running at http://localhost:5173.
Visit rari.build/docs for complete documentation, guides, and examples.
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
rari delivers exceptional performance that significantly outperforms traditional React frameworks:
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 | — |
| 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.
We welcome contributions! Here's how you can help:
- Report Bugs - Found an issue? Open a bug report
- Suggest Features - Have ideas? Share your suggestions
- Improve Docs - Help make our documentation better
- Submit PRs - Check out our Contributing Guide
- Discord - Join our community
- GitHub - Star the repo
- Documentation - rari.build/docs
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.
MIT License - see LICENSE for details.