Build Lightning-Fast Static Sites with React

RS-SSG combines the power of React, Vite, esbuild and Tailwind CSS to deliver SEO-optimized static sites with zero setup hassle. Pre-render all your pages for superior performance and perfect Google ranking.

# Install RS-SSG globally
pnpm add -g rs-ssg

# Create a new project
rs-ssg init my-website

# Navigate to project directory
cd my-website

# Start development
rs-ssg dev

Why Choose RS-SSG?

RS-SSG provides everything you need to build modern, SEO-optimized static sites with React.

Blazing Fast Performance

Leverage Vite's ultra-fast development server and optimized production builds using esbuild for instant page loads.

Superior SEO

Every page is pre-rendered as static HTML, making your content immediately available to search engines.

Zero Configuration

Works out of the box with sensible defaults. No need to spend hours configuring build tools.

Automatic Routing

The framework automatically creates routes based on your routes array structure in the routes file.

Dynamic Path Generation

Easily create dynamic routes using path naming conventions like blogs/:slug or blogs/:id.

Performance Optimized

Consistently score 99+ on Lighthouse performance tests with optimized bundles and lazy loading.

RS-SSG Process Flow

A streamlined approach to static site generation

1

Route Discovery & Analysis

Scan project structure, analyze route declarations, and identify all static and dynamic paths for generation.

Parse route files
Extract dynamic segments
Build dependency graph
2

Pre-render & Generate Pages

Pre-render all pages on the builder server from route declarations across all discovered paths.

Server-side rendering
Static HTML generation
Asset optimization
3

Dynamic Route Generation

Generate dynamic routes with getStaticPaths automatically from data sources and API endpoints.

Data fetching
Path parameter resolution
Incremental regeneration
4

SEO Metadata Collection

Collect SEO metadata from Seo components, page headers, and default ssg.config.js configuration.

Meta tags extraction
Open Graph data
Twitter Cards
Structured data
5

Asset Optimization

Use esbuild for lightning-fast bundling, code splitting, and client-side interactivity preparation.

JS/CSS bundling
Tree shaking
Code splitting
Asset compression
6

Sitemap Generation

Generate comprehensive XML sitemap with all discovered routes, priorities, and change frequencies.

URL discovery
Priority calculation
Last modified dates
Multi-language support
7

SEO Files Generation

Create robots.txt for search engine crawling rules and guidelines based on site configuration.

Crawl permissions
Sitemap references
User-agent rules
Disallow patterns
8

Search Index Preparation

Generate search indices and prepare content for client-side search functionality.

Content indexing
Search metadata
Keyword extraction
Full-text search prep

Benefits of Static Site Generation (SSG)

Experience the power of Static Site Generation with unmatched performance, cost-effectiveness, and developer experience

Zero Server Maintenance

No server management headaches. Just deploy static HTML files and your site is live instantly.

Ultra-Fast Performance

Pre-rendered HTML delivers lightning-fast page loads with smooth, fluid user experience.

SEO & AI Bot Ready

Perfect for search engines and AI crawlers. Fast indexing, better rankings, and full content accessibility.

Minimal Hosting Costs

Deploy anywhere - Netlify, Vercel, CDN, or simple Nginx. Dramatically reduce hosting expenses.

Global CDN Ready

Serve from edge locations worldwide for minimal latency

Enhanced Security

No server-side vulnerabilities or database attacks

Developer Joy

Modern React development with production performance

Instant Deployment

Build once, deploy everywhere with zero configuration

Ready to Experience the Difference?

Join thousands of developers who've made the switch to Static Site Generation