Skip to content
المشاريع

حول

rari: إطار عمل عالي الأداء لمكوّنات React من جهة الخادم، يعمل بوقت تشغيل Rust. يحقق أزمنة استجابة أسرع بمقدار 14.9 مرة (0.10ms مقابل 1.49ms) ومعدل نقل أعلى بمقدار 61.6 مرة (104,754 مقابل 1,701 طلب/ثانية) مقارنةً بـ Next.js، مع إعداد تلقائي دون الحاجة إلى ضبط.

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

1,183 نجمة34 التفرعات +2 خلال 24 ساعة

ما يمكنك فعله

  • 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

النمو المقاس للنجوم

خلال 24 ساعة
+٢
خلال 7 أيام
+٢
خلال 15 يومًا
+٢
خلال شهر
+٤

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل
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: November 20, 2026 (rari v0.17.11)

Response Time (Single Request):

Metric rari Next.js Improvement
Average 0.10ms 1.49ms 14.9x faster
P95 0.10ms 1.57ms 15.7x faster
Bundle Size 367 KB 578 KB 36% smaller

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

Metric rari Next.js Improvement
Requests/sec 104,754 1,701 61.6x higher
Avg Latency 0.48ms 29.40ms 61.3x faster
P95 Latency 0.78ms 36.17ms 46.4x faster
Errors 0 0 Stable

Build Performance:

Metric rari Next.js Improvement
Build Time 0.74s 2.63s 3.5x faster
Bundle Size 367 KB 578 KB 36% smaller

Streaming (/stream, Suspense):

Metric rari Next.js Improvement
TTFB 1ms 12ms 11.8x faster
First content 118ms 109ms 0.93x
Last byte 1020ms 1011ms 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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…