{"repo":"9d8dev/next-wp","free":true,"listed":false,"github":"https://github.com/9d8dev/next-wp","clone":"git clone https://github.com/9d8dev/next-wp.git","description":"Headless WordPress built with the Next.js App Router and React Server Components","language":"TypeScript","stars":1284,"topics":["headless-cms","headless-wordpress","nextjs","starter","wordpress","shadcn-ui","tailwind","craft-ds"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Next WP A modern headless WordPress starter built with Next.js 16, React 19, and TypeScript. %2C%20the%20hostname%20for%20Image%20rendering%20in%20Next%20JS%20(ie.%20wp.example.com)%2C%20and%20a%20secret%20key%20for%20secure%20revalidation&project-name=next-wp&repository-name=next-wp&demo-title=Next%20JS%20and%20WordPress%20Starter&demo-url=https%3A%2F%2Fwp.9d8.dev) Live Demo Video Tutorial Headless Theme (761) Need a WooCommerce version? Try next-woo Table of Contents - Quick Start - Prerequisites - Environment Variables - Features - Project Structure - Deployment - Railway (Recommended) - Vercel - Local Development - WordPress API Functions - Cache Revalidation - Customization - Troubleshooting - Testing - Scripts - Contributing - License - Credits Quick Start Your site is now running at http://localhost:3000 . Prerequisites - Node.js 22.13 or later - pnpm 11 (pinned via the packageManager field — enable with corepack enable ) - WordPress site with REST API enabled (default in WordPress 4.7+) Environment Variables Create a .env.local file in the root directory: Features - Type-safe WordPress API - Full TypeScript support with comprehensive type definitions - Server-side pagination - Efficient handling of large content libraries - Automatic cache revalidation - WordPress plugin for instant updates - Dynamic routes - Posts, pages, authors, categories, and tags - Search & filtering - Real-time search with debouncing - Dynamic sitemap - Auto-generated XML sitemap - OG image gen","default_branch":null,"files":null,"tree":[],"storefront":"/r/9d8dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/9d8dev/next-wp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}