Vite React SSG Pro Template: Next-Gen React 19 Starter
Build ultra-fast static (SSG) React apps achieving 100/100 PageSpeed scores.
Everything uses cutting-edge, production-proven tech - with one-command deployment to Cloudflare Pages.
For all the Vibe Coders that uses Agents out there: I've baked in custom AI rules for Cursor, Copilot and Anti-Gravity. The agents actually understand the SSG architecture out of the box, so you can just vibe and ship 🫳🎤



TECH STACK
- Vite 7 + React 19 + TypeScript 5.9
- Tailwind CSS 4 (via @tailwindcss/vite)
- React Router v7 with lazy loading
- Framer Motion + Lucide React + React Icons
- Happy-DOM for SSR/prerendering
PERFORMANCE PIPELINE
- Beasties critical CSS inlining (40-50KB inline, <1KB external)
- Terser 3-pass minification
- gzip + brotli dual compression
- Auto sitemap.xml + robots.txt + OG images
- font-display: optional (zero CLS)
WHAT'S INCLUDED
- Ready-made components: Hero, Navbar, Footer, ErrorBoundary, LoadingScreen
- Example pages: Home, About, Suspense patterns demo
- Centralized SEO config (seo.json) with Schema.org support
- 11 comprehensive docs (architecture, deployment, SEO, performance...)
- Bundle analyzer + Knip dead code detection! + Optional React Scan profiler
AI AGENT-READY
- .agent/rules/instructions.md (450 lines of context)
- .github/copilot-instructions.md for GitHub Copilot
- .vscode/settings.json + recommended extensions
- Works with Cursor, Antigravity, Copilot out of the box
ONE-COMMAND DEPLOY
- `pnpm upload` → Live on Cloudflare Pages (Wrangler-powered)
- Free custom domains: dash.cloudflare.com → DNS → Add Record (2 min)
- Auto HTTPS + global CDN included
PNPM WORKSPACE (Why We Use It)
- `pnpm approve-builds` blocks malicious install scripts (space=approve, Enter=block)
- Saves 70% disk space vs npm (symlinks, no duplicates)
- `pnpm-workspace.yaml` enables monorepo scaling
- Protects against npm exploits (malicious postinstall hooks)
- npm works but not recommended - use `pnpm` prefix everywhere
- Folder renamed? `pnpm install` again (pnpm needs full reinstall)
Note: First run requires `pnpm install` approval prompts
COMMERCIAL LICENSE
✅ Unlimited commercial use
✅ Closed-source allowed
✅ No attribution required
✅ 6 months email support + free updates
Download → pnpm install → pnpm dev → Your React 19 app is live.
⚠️ LEGAL DISCLAIMER (From Terms of Service):
"AS IS" - NO WARRANTY of merchantability, fitness, or performance.
Maximum liability: $0. Use at your own risk. See full Terms included in ZIP.
⚠️ PERFORMANCE DISCLAIMER: 100/100 PageSpeed scores achieved on real deployed site (Cloudflare Pages). Results from unmodified template. Customizations, hosting choice, and content changes WILL affect scores. No performance guarantees - test your implementation (see Terms of Service).
### Known Limitations
- **"Unused JavaScript" Diagnostic (~22KB in `react-dom`)**: Lighthouse reports ~22KB of unused JavaScript in `react-dom`. This is a false positive inherent to React's architecture. The "unused" code consists of React's Synthetic Event System and Fiber Reconciler, which are loaded but not immediately executed during Lighthouse's trace window. These systems are required for React to handle user interactions and cannot be tree-shaken. This is the expected "tax" of using React and is present in all React applications.
Commercial License
Copyright (c) 2025 Burgil
This software is licensed for commercial use. By purchasing this template,
you have been granted:
✅ Unlimited use in personal and commercial projects
✅ Use in closed-source applications
✅ Building client websites for profit
✅ Creating SaaS products with paid subscriptions
✅ Full modification rights
✅ No attribution required
RESTRICTIONS:
- You may not resell the unmodified template as your own product
- You may not redistribute the template to non-license holders
SUPPORT:
Commercial license holders receive priority support.
Contact: https://github.com/burgil
FREE VERSION:
A legacy MIT-licensed version is available at:
https://github.com/burgil/create-app
(Note: Unmaintained, no new updates)
For the latest features and support, use this commercial version.