Open Source Headless WordPress

Flat Out Fast.Headless WordPress

FlatWP combines WordPress with Next.js to provide static generation, ISR, TypeScript, and GraphQL. All perfectly optimized for speed and performance out of the box.

View on GitHub
95+ Lighthouse Score
<1s Page Load
MIT License

Performance That Speaks for Itself

FlatWP delivers exceptional Core Web Vitals scores and real-world performance metrics

98

Lighthouse Score

Performance

<0.8s

Largest Contentful Paint

LCP - Core Web Vital

0.01

Cumulative Layout Shift

CLS - Core Web Vital

<100ms

Time to First Byte

TTFB with ISR

Why FlatWP Outperforms Traditional WordPress

3.2s
Traditional WordPress
Average page load time
0.7s
FlatWP
78% faster load time

Everything You Need to Build Modern WordPress Sites

FlatWP provides a complete toolkit for building high-performance headless WordPress sites

Lightning-Fast Performance

Static generation and ISR ensure your pages load in milliseconds. Automatically optimized images and code splitting out of the box.

Full TypeScript Support

End-to-end type safety with auto-generated types from GraphQL schema. Catch errors before they reach production.

Production-Ready Security

Built-in security headers, CSP policies, and rate limiting. WordPress backend is completely isolated from your frontend.

12+ Premium Blocks

Beautiful, accessible WordPress blocks built with Shadcn/UI. From hero sections to testimonials, tables, and forms.

Incremental Static Regeneration

Get the best of both worlds: static speed with dynamic content. Pages revalidate on-demand when content updates.

GraphQL-Powered

Efficient data fetching with WPGraphQL. Request exactly what you need, nothing more. Built-in query optimization.

Automatic Image Optimization

Next.js Image component handles resizing, format conversion (WebP/AVIF), and lazy loading automatically.

Built-in Search

Client-side fuzzy search with Fuse.js. Fast, instant results without hitting your server or database.

SEO Optimized

Dynamic meta tags, Open Graph, Twitter Cards, and automatic sitemap generation. Perfect Lighthouse SEO scores.

Flexible Content Modeling

Support for custom post types, ACF fields, and taxonomies. Map WordPress content to React components seamlessly.

Dark Mode Ready

Beautiful dark mode built-in with Tailwind CSS. Respects user preferences and persists across sessions.

Deploy Anywhere

Optimized for Vercel, Netlify, and Cloudflare Pages. Edge functions support for dynamic features.

Open Source & Free Forever

Ready to Build Something Amazing?

Join developers using FlatWP to build lightning-fast WordPress sites. Get started in minutes with our comprehensive starter template.

Read Documentation
95+
Lighthouse Score
12+
Premium Blocks
100%
Type Safe
MIT
Open Source