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
RS-SSG provides everything you need to build modern, SEO-optimized static sites with React.
Leverage Vite's ultra-fast development server and optimized production builds using esbuild for instant page loads.
Every page is pre-rendered as static HTML, making your content immediately available to search engines.
Works out of the box with sensible defaults. No need to spend hours configuring build tools.
The framework automatically creates routes based on your routes array structure in the routes file.
Easily create dynamic routes using path naming conventions like blogs/:slug or blogs/:id.
Consistently score 99+ on Lighthouse performance tests with optimized bundles and lazy loading.
A streamlined approach to static site generation
Scan project structure, analyze route declarations, and identify all static and dynamic paths for generation.
Pre-render all pages on the builder server from route declarations across all discovered paths.
Generate dynamic routes with getStaticPaths automatically from data sources and API endpoints.
Collect SEO metadata from Seo components, page headers, and default ssg.config.js configuration.
Use esbuild for lightning-fast bundling, code splitting, and client-side interactivity preparation.
Generate comprehensive XML sitemap with all discovered routes, priorities, and change frequencies.
Create robots.txt for search engine crawling rules and guidelines based on site configuration.
Generate search indices and prepare content for client-side search functionality.
Experience the power of Static Site Generation with unmatched performance, cost-effectiveness, and developer experience
No server management headaches. Just deploy static HTML files and your site is live instantly.
Pre-rendered HTML delivers lightning-fast page loads with smooth, fluid user experience.
Perfect for search engines and AI crawlers. Fast indexing, better rankings, and full content accessibility.
Deploy anywhere - Netlify, Vercel, CDN, or simple Nginx. Dramatically reduce hosting expenses.
Serve from edge locations worldwide for minimal latency
No server-side vulnerabilities or database attacks
Modern React development with production performance
Build once, deploy everywhere with zero configuration
Join thousands of developers who've made the switch to Static Site Generation