Pseo Next

screenshot of Pseo Next

Pseo Next

Next 13 Programmatic SEO template


The Next 13 Boilerplate for Programmatic SEO Campaigns is a template for creating modern programmatic SEO campaigns. It includes all the features that you would expect in a modern pSEO campaign. The boilerplate utilizes Next 13 for static fast webpage loading and deployment on Vercel. It also uses Incremental Static Regeneration (ISR) for regenerating information on Vercel during runtime. The template automatically generates sitemaps and robots.txt, even with ISR regeneration, using next-sitemap. It provides distinct layouts for site, blog, and variant pages. The boilerplate also includes SEO metadata, JSON-LD, Open Graph tags with Next SEO, and a built-in cookie banner and Google Analytics. It features developer experience first with Prisma for easy database interaction, type-checking with TypeScript, integration with Tailwind CSS, strict mode for TypeScript and React 18, code formatter with Prettier, absolute imports using @ prefix, and E2E testing with Playwright.


  • Utalizes Next 13 for Static Fast Webpage Loading and Deploy on Vercel.
  • Use ISR for regenerating infomration on Vercel during runtime.
  • Sitemaps and Robots.txt generated automatically even with ISR regeneration via next-sitemap.
  • Site, Blog and Variant page have distinct layouts.
  • SEO metadata, JSON-LD and Open Graph tags with Next SEO.
  • Maximize lighthouse score.
  • Built-in Cookie Banner.
  • Built-in Google Analytics.
  • Auto 404 Image placeholder component.
  • Prisma (Postgres-compatible) for easy DB interaction.
  • Type checking TypeScript.
  • Integrate with Tailwind CSS.
  • Strict Mode for TypeScript and React 18.
  • Code Formatter with Prettier.
  • Absolute Imports using @ prefix.
  • E2E Testing with Playwright.


To get started with the Next 13 Boilerplate for Programmatic SEO Campaigns, follow these steps:

  1. Clone the repository: git clone pseo-example
  2. Install the dependencies: npm i
  3. Start Docker for local PostgreSQL: docker-compose up -d (for local PostgreSQL DB)
  4. Open http://localhost:3000/ to view the development environment.
  5. Check the Development section for further instructions.
  6. Rename Development.env.example to .env and update the necessary parameters if needed.
  7. Place all your landing pages (Home page, about, terms, etc.) in the /src/app/(site) folder.
  8. Write your blog posts as Markdown files in the /posts folder.
  9. Change the layout of your blog in the /src/app/blog folder.
  10. Create your Programmatic variants in the /src/variant/[slug] folder. Example: with variant="hotels" and slug="spain-summer-2023".
  11. Uncomment the comments in the relevant files to actually fetch data from your database.
  12. Connect your project to Prisma by adding your schema in /prisma/schema.prisma and running npx prisma migrate dev --name init and npm run dbDeployment.
  13. Connect your repository to Vercel and add your environment variables.
  14. In Vercel, change the build command to npm run prod:build.


The Next 13 Boilerplate for Programmatic SEO Campaigns is a powerful tool for creating modern programmatic SEO campaigns. It offers a wide range of features, including fast webpage loading, automatic sitemap and robots.txt generation, distinct layouts for different page types, SEO metadata optimization, and built-in analytics and cookie banner. The boilerplate prioritizes developer experience by providing easy integration with databases, type-checking with TypeScript, and a code formatter. Overall, it is a comprehensive solution for anyone looking to optimize their SEO strategies.


Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.


React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components


Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.


Prisma is a server-side library that helps developers read and write data to the database in an intuitive, efficient and safe way.

Fullstack Boilerplates

A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.


Contentlayer is an open-source platform for building dynamic, data-driven websites and applications using markdown files as the content source. It features an intuitive API, flexible content modeling, and easy integration with popular frontend frameworks and tools.


ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.


PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.


TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.