Getting Started

Deploy NextPress in minutes with Vercel and Supabase

Prerequisites

  • Node.js 24+
  • pnpm 11+
  • A PostgreSQL database (for example a free Supabase project)
  • Vercel account (optional, for deployment)

Installation

git clone https://github.com/danixsofyan/nextpress.git
cd nextpress
pnpm install

Environment variables

cp .env.example .env.local

Fill in the required values:

Variable Description
DATABASE_URL PostgreSQL connection string
NEXT_PUBLIC_SITE_URL Public URL of your site
BETTER_AUTH_SECRET Session signing secret, at least 32 characters

Optional settings (Redis, S3-compatible media storage, isolated admin domain) are documented in .env.example. Site options such as the title, logo, timezone, and homepage are set later in the admin under Settings.

Run database migrations

DATABASE_URL=... pnpm db:migrate

Start development

pnpm dev

Edit this page on GitHub

NextPress

Open-source WordPress alternative built with Next.js and TypeScript. A familiar admin, a typed REST API, and an MCP server for AI agents. Created by Dani Sofyan.

Product

Community

Latest articles