Marketing site for Priompt — a self-hosted prompt registry ("Git, but for your AI prompts"): version, roll back, semantic-diff, and live-distribute prompts to AI agents. This repo is the public-facing landing page; the product itself lives at https://github.com/priompt/priompt.
- Next.js 16 (App Router) + React 19, TypeScript
- Tailwind CSS v4 + shadcn/ui components
- Framer Motion for the mobile nav sheet and hero interactions
- Static export (
output: "export") deployed to Cloudflare Pages
app/(landing)/— the single landing page (page.tsx) and root layout (metadata, JSON-LD, fonts)components/sections/— page sections (navbar, video hero, problems, solutions, numbers, compare, cta, faq, footer)app/robots.ts,app/sitemap.ts,app/manifest.ts,app/opengraph-image.tsx,app/llms.txt/route.ts— SEO/AEO metadata routeslib/site.ts— single source of truth for site URL, name, and descriptionlib/cloudflare-image-loader.ts— optional Cloudflare image loader
pnpm install
pnpm dev # http://localhost:3000pnpm build # next build -> static site in out/
pnpm preview # build + serve out/ locallyDeployment runs through Cloudflare Pages' Git integration:
- Build command:
pnpm run build - Build output directory:
out
public/_headers is copied into out/ and applied by Pages.
Image optimization: the Next.js optimizer does not run on Cloudflare Pages, so images are served unoptimized by default. Set
NEXT_PUBLIC_CF_IMAGE_TRANSFORM=1to route them through Cloudflare's/cdn-cgi/image/transformation endpoint (requires "Transformations" enabled on the zone).
Product documentation is a separate Docusaurus site in docs/ (a pnpm
workspace package), built to static files and meant for docs.priompt.com.
pnpm docs:dev # http://localhost:3000
pnpm docs:build # -> docs/build (deploy as static assets / Pages)The docs deploy to docs.priompt.com from .github/workflows/docs.yml on every
push to main that touches docs/ (or run it by hand from the Actions tab).
Unreleased names (Docker image, PyPI and npm packages) live in
docs/src/vars.ts and render through <Var> / <Cmd>. Set them there, or via
PRIOMPT_DOCKER_IMAGE / PRIOMPT_PYPI_NAME / PRIOMPT_NPM_NAME at build time.
npx shadcn@latest add buttonComponents are placed in components/ui/.