This repository contains the current Unkey website and its content, including:
- marketing pages
- blog
- glossary
- changelog
- case studies
- legal pages
Routes live in src/app, UI components live in src/components, and most long-form content lives
in src/content.
Requirements:
- Node.js 20+
- pnpm 10+
Create a local env file and start the app:
cp .env.example .env
pnpm install
pnpm devThe site will be available at http://localhost:3000.
Useful commands:
pnpm lint
pnpm typecheck
pnpm build- This repository still proxies
/docs,/templates,/careers, and/oss-friendstoLEGACY_SITE_ORIGIN, so that environment variable must be set for local development and builds. NEXT_PUBLIC_DEFAULT_SITE_URLis used for canonical URLs and sitemap generation.- Most content collections use MDX. If you are adding content, it is easiest to start by copying an
existing file from the same folder in
src/content. - There is no dedicated test suite yet. Before opening a PR, run
pnpm lint && pnpm typecheck && pnpm build.
Follow our contributing guide