Skip to content

Vite React SSG Lite: 100/100 PageSpeed static sites (no SSR needed!) - FREE MIT + $29 Pro Version with support:

Notifications You must be signed in to change notification settings

burgil/create-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

51 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ Create App Template

page-speed

PRO VERSION WITH SUPPORT - LIVE DEMO - WATCH VIDEO

The fastest way to ship production-ready React apps with perfect SEO and zero backend costs.

A battle-tested Vite + React template that generates fully static sites with server-side rendering (SSR) benefits - no servers (SSG), no complexity, just pure performance that Google loves.

web-preview

Usage

Run directly from GitHub using npx (no install):

npx github:burgil/create-app my-project-name

Warning: Ensure you review and agree to the Template TOS before proceeding, as it outlines important usage terms and conditions.

cli-preview

Links

How it works

The CLI is a tiny Node script located at bin/index.js. It copies the template folder included in this repo to the destination path.

πŸš€ Why This Template is Epic

The Problem We Solve

Most React apps fail at SEO because they're client-side rendered. Traditional SSR solutions require Node.js servers ($$$) and complex infrastructure. This template gives you the best of both worlds:

βœ… Perfect SEO - Pre-rendered HTML for every page
βœ… Lightning Fast - Static files served from CDN
βœ… Zero Backend - Deploy anywhere (Cloudflare, Vercel, Netlify)
βœ… Free hosting - Static hosting is practically free
βœ… Google Loves It - Perfect Lighthouse scores out of the box

What Makes This Different

image
Feature This Template Typical React App Next.js
Learning Curve 🟒 Easy 🟒 Easy 🟑 Medium
Server Required ❌ No ❌ No βœ… Yes
Hosting Cost $0/mo $0/mo $20+++/mo
SEO-Ready βœ… Pre-rendered ❌ Client-side βœ… Yes
Page Speed ⚑ Fast ⚑ Fast 🐌 Slow
Build Speed ⚑ Instant ⚑ Fast 🐌 Slow
Deploy Anywhere βœ… Yes βœ… Yes ⚠️ Limited

πŸ“¦ What's Inside

  • Vite 7 - Sub-100ms HMR, instant dev server startup
  • React 19 - Latest features with full TypeScript support
  • Tailwind CSS 4 - Modern utility-first styling
  • React Router 7 - File-based routing with lazy loading
  • Framer Motion - Smooth animations that feel native
  • Lucide Icons + React Icons - Beautiful icon libraries
  • Pre-rendering - Automatic SSG for perfect SEO
  • OG Image Generation - Auto-generate Open Graph images
  • Schema.org - Rich snippets for better search results

🎯 Quick Start

# Scaffold a new project
npx github:burgil/create-app my-epic-app

# Install dependencies
cd my-epic-app
pnpm install

# Optional: Install Python requirements for OG screenshot generation
pip install -r scripts/requirements.txt
playwright install

# Start dev server (instant HMR)
pnpm dev

# Build for production (includes SSG)
pnpm build

# Approve builds (local build + generate assets)
# This runs the production build and generates OG screenshots
# Use `pnpm build && pnpm og-screenshots` if you want to follow the full workflow in CI or locally
# (optional: requires Python, Playwright, and a running preview server for OG generation)
# pnpm build && pnpm og-screenshots

# Preview production build
pnpm preview

πŸ—οΈ Architecture Highlights

Pre-rendering Magic

Every page is pre-rendered at build time with full HTML, meta tags, and structured data. Crawlers see fully-formed content instantly - no JavaScript execution needed.

// Your React components render to static HTML
<Hero /> β†’ <section>...fully rendered HTML...</section>

SEO Superpowers

  • βœ… Meta tags automatically injected per route
  • βœ… Open Graph images for social sharing
  • βœ… Schema.org structured data (Organization, WebSite, Breadcrumbs)
  • βœ… Sitemap generation with proper priorities
  • βœ… Canonical URLs to prevent duplicate content

Performance by Default

  • ⚑ Critical CSS inlining - 40-50 KB inlined via Beasties (99%+ external CSS reduction)
  • ⚑ Terser minification - 3-pass compression with aggressive mangling
  • ⚑ Code splitting - Vendor chunks for React, Framer Motion, and icons
  • ⚑ Lazy loading - Routes and components load on-demand
  • ⚑ Dual compression - gzip + brotli for all assets
  • ⚑ Font optimization - Zero CLS with font-display: optional
  • ⚑ CDN-ready - Serve from edge locations worldwide

πŸ“š Documentation

🎨 Example Pages Included

Home Page

Shows off Framer Motion animations, Lucide icons, and modern design patterns.

About Page

Demonstrates TypeScript best practices, component composition, and accessible UI.

Suspense Example Page

Interactive demonstration of React Suspense patterns including lazy loading, skeleton fallbacks, and performance optimization techniques.

πŸš€ Deploy Anywhere

This template generates 100% static files. Deploy to:

  • Cloudflare Pages - Free, blazing fast edge network
  • Vercel - Zero config deployment
  • Netlify - Instant Git integration
  • GitHub Pages - Free hosting for open source
  • Any static host - Upload dist/ folder, done

No serverless functions, no Node.js runtime, no hidden costs.

πŸ“Š Real-World Results

Mobile PageSpeed: 100/100
Desktop PageSpeed: 100/100
First Contentful Paint: <0.5s
Largest Contentful Paint: <2.5s
Cumulative Layout Shift: 0
SEO Score: πŸ’― 100/100

πŸ› οΈ Tech Stack

Category Technology
Build Tool Vite 7.2
Framework React 19.2
Language TypeScript 5.9
Styling Tailwind CSS 4.1
Router React Router 7.9
Animation Framer Motion 12
Icons Lucide React 0.5 + React Icons 5.5
Linting ESLint 9 + TypeScript ESLint
Package Manager pnpm 10

πŸ’‘ Use Cases

Perfect for:

  • 🌐 Marketing sites - Maximize conversions with perfect SEO
  • πŸ“± Landing pages - Ship fast, iterate faster
  • πŸ“ Portfolios - Showcase your work with style
  • πŸ“Š Product pages - Convert visitors to customers
  • πŸŽ“ Documentation sites - Fast, searchable, accessible

🀝 Contributing

We welcome contributions!

πŸ“„ License & Terms

This template is provided under the MIT License.

Usage Terms: By using this template, you agree to the Terms of Service.

Repository Notes

  • The template/ folder contains the starter project that npx github:burgil/create-app scaffolds.
  • .agent/ (inside template/): Holds AI agent instructions and rules; used to inform auto-assistants that inspect or modify this repository.
  • .github/ (inside template/): GitHub specific guidance and Copilot instructions (copilot-instructions.md). Update these when workflow or automation changes are needed.

🌟 Community

🎯 Next Steps

  1. Read Getting Started to build your first page
  2. Customize colors, fonts, and content in tailwind.config.js and src/
  3. Deploy to Cloudflare Pages or Vercel (takes 2 minutes)
  4. Ship your epic project to the world πŸš€

Avoid cursed strings:

’ -> '
β€œ -> "
” -> "
– -> -
β€” -> -
… -> ...

Built with ❀️ for developers who want to ship fast without compromising on quality.

About

Vite React SSG Lite: 100/100 PageSpeed static sites (no SSR needed!) - FREE MIT + $29 Pro Version with support:

Topics

Resources

Stars

Watchers

Forks