Skip to main content
Sandbox demo — data resets on the hour. Try the admin at /admin, own the whole thing viathe template →
Get Template — $89

Search AI Directory

Search tools, categories, stacks, and pages

Getting Started

Introduction

What the AI Directory Template is, how it's built, and where to go next.

The AI Directory Template is a complete, self-running AI tools directory you deploy and own. Out of the box it ships everything the live site you're reading this on runs on:

  • A public directory — tools, categories, comparisons, stacks, roles, news, and a blog, all SEO-ready.
  • An operations console at /admin — review queues, editing, taxonomy, settings, audit trail.
  • 10 automated content pipelines — a news desk, tool crawler, editorial enrichment, comparison and stack generators, and more, each a plain HTTP endpoint you schedule however you like.
  • An agent API — a scoped REST API plus a Model Context Protocol (MCP) server, so a coding agent can run the whole directory for you.
  • Built-in Stripe monetization — paid fast-track reviews and featured placements, no third-party plugin.

It's one Next.js monorepo and one deploy unit (apps/web). The stack is Next.js 16, React 19, Turborepo, Prisma on Postgres, shadcn/ui, and optional Cloudflare R2 for image storage.

The design philosophy

Three kinds of information live in three places, and the separation is the whole point:

WhatLives inWhy
Content — tools, news, posts, settingsThe Postgres databaseEditable from /admin with no deploy; nothing is hardcoded
Display identity — name, logo text, colors, prices/admin/settingsRebranding never touches code
Secrets & deploy identity — database URL, API keys, canonical URLEnvironment variablesKept out of the repo and out of the database

Because your content and identity never live in code, two things follow. Rebranding the site is data entry, not a code change. And when a template update arrives, it merges cleanly — your customizations and the template's logic rarely touch the same files. See Getting updates for that workflow.

Requirements

  • Node 20+
  • pnpm (the repo is a pnpm workspace)
  • A Postgres database — local, Neon, Supabase, or any managed Postgres

Nothing else is required to run the site. AI editorial (DeepSeek), image storage (R2), and payments (Stripe) are all optional and degrade gracefully when their keys are absent.

Map of the docs

Getting Started

Guides

Codebase

New here? Start with Getting started.