A highly opinionated, bleeding-edge Next.js template focused on developer experience, strict code quality, and performance.
- 🚀 Next.js & React: Uses Next.js App Router and React 19.
- 🎨 Tailwind CSS v4: CSS-first styling with the latest engine.
- 🛠️ Biome: Single tool for linting and formatting (35x faster than Prettier/ESLint).
- 🏎️ Turborepo: Optimized build piping and caching.
- 📦 pnpm: Fast, disk-space-efficient package management.
- 🔍 SEO Optimized: Pre-configured
next-sitemapand metadata handling. - 🏗️ Architectural Integrity: Separates routing (
app/) from implementation (lib/). - 🤖 Agent-Friendly: Includes
AGENTS.mdto help AI coding assistants reason about the codebase.
The project uses a Lib-Delegation pattern to keep the routing layer clean.
graph TD
subgraph "Routing Layer"
A[src/app] -->|Exports| B[Next.js Entry Points]
end
subgraph "Implementation Layer"
B --> C[src/lib/pages]
B --> D[src/lib/layout]
C --> E[src/lib/components]
D --> E
E --> F[src/lib/styles]
end
For more details, see SPEC.md.
npx degit agustinusnathaniel/nextarter-tailwind <APP_NAME>
cd <APP_NAME>pnpm installpnpm devOpen http://localhost:3000 to see your app.
| Task | Command |
|---|---|
| Lint & Format | pnpm biome:fix |
| Type Check | pnpm type:check |
| E2E Tests | pnpm test:e2e |
| Build | pnpm build |
| Release | pnpm release |
Detailed contribution guidelines can be found in CONTRIBUTING.md.
- SPEC.md: Technical specification and invariants.
- CONTRIBUTING.md: Contribution workflow and standards.
- AGENTS.md: Guidance for AI IDEs and coding assistants.
Distributed under the MIT License. See LICENSE for more information.
Built with ❤️ by @agstnsnathaniel