next-template
Health Gecti
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 22 GitHub stars
Code Uyari
- process.env — Environment variable access in app/layout.tsx
Permissions Gecti
- Permissions — No dangerous permissions requested
A modern Next.js starter template for building production-ready web applications, pre-configured with tools like Tailwind CSS, BiomeJS, Bun, and Husky. It is designed to maximize developer productivity right out of the box.
Security Assessment
The overall risk is Low. The template relies on standard Next.js conventions, meaning it only accesses environment variables for typical configuration needs (as flagged in `app/layout.tsx`), rather than harvesting sensitive user data. There is no evidence of dangerous permissions, hidden network requests to unknown servers, or hardcoded secrets in the codebase.
Quality Assessment
The project demonstrates strong health and maintenance. It uses the permissive MIT license and is actively maintained, with recent repository updates. While it has a relatively small community with 22 GitHub stars, it leverages highly reputable, industry-standard dependencies. The inclusion of strict linting, formatting, and Git hooks indicates a strong emphasis on code quality.
Verdict
Safe to use.
A modern Next.js template for building production-ready web applications.
Next.js Template

A modern Next.js template for building production-ready web applications.

What's Inside
This template provides:
AGENTS.md— Context instructions for AI agents like Claude Code- Next.js v16 — App Router, React v19, and React Compiler
- Effect-ts — type-safe functional programming and async effects
- Vercel — hosting and CI deployments
- TypeScript v5 — type safety and enhanced developer experience
- Tailwind CSS v4 — utility-first CSS framework for rapid styling
- Base UI — headless, accessible React components
- Bun — fast package manager and JavaScript runtime
- BiomeJS — linting and formatting for TypeScript, JSON, and CSS
- ESLint — Tailwind class validation and React hooks rules
- Prettier — code formatting for Markdown and YAML files
- Just — command runner for streamlined task automation
- Husky — automated Git hooks with lint-staged
Optimized for developer productivity and application performance.
[!NOTE]
Some of the configuration files depend upon the Sablier DevKit
Getting Started
Click the Use this template button to create a new repository.
Or clone manually:
git clone https://github.com/PaulRBerg/next-template.git my-app
cd my-app
And then run:
bun install
bun husky
just --list
New to Next.js? Check out these resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
- Next.js GitHub repository
Prerequisites
Usage
Start the development server:
just dev
The dev server starts on a random available port. Check the terminal output for the URL.
Vercel Deployment
To make the CI deployment workflow work, you have to configure these environment variables in your GitHub Actions
secrets:
VERCEL_ORG_IDVERCEL_PROJECT_IDVERCEL_TOKEN
[!TIP]
If you use the
ghCLI, you can put your environment variables in a.envfile and then
run this command:gh secret set -f .env.
Commands
This template uses Just for task automation.
Development
Make sure to run bun install first!
| Command | Description |
|---|---|
just dev |
Start development server |
just build |
Build for production |
just start |
Start production server |
just clean |
Clean build artifacts |
just deploy |
Deploy to Vercel |
Code Quality
| Command | Description |
|---|---|
just biome-check |
Check code with Biome (lint + format) |
just biome-write |
Auto-fix Biome issues |
just eslint-check |
Check Tailwind classes and React hooks rules |
just eslint-write |
Auto-fix ESLint issues |
just type-check |
Type check with tsgo (falls back to tsc) |
just full-check |
Run all quality checks |
just full-write |
Fix all quality issues |
Other Commands
Run just to see all available commands, including prettier-*, mdformat-*, and knip-*.
Project Structure
├── .github/workflows/ # GitHub Actions (CI/CD)
├── .husky/ # Git hooks configuration
├── app/ # Next.js App Router
│ ├── api/health/ # Health check API route
│ ├── globals.css # Global styles and Tailwind directives
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page
├── lib/ # Shared utilities
│ ├── cn.ts # Tailwind class merge utility
│ ├── regex.ts # Regex utilities
│ └── effect/ # Effect-ts utilities
├── public/ # Static files
├── ui/ # UI components
│ ├── Button.tsx # Button component
│ ├── SmartImage.tsx # Enhanced next/image wrapper
│ └── SmartLink.tsx # Enhanced next/link wrapper
├── AGENTS.md # AI agent instructions (CLAUDE.md → symlink)
├── biome.jsonc # Biome configuration
├── eslint.config.mts # ESLint configuration (Tailwind + React hooks)
├── justfile # Just command definitions
├── next.config.ts # Next.js configuration
├── package.json # Package configuration
├── postcss.config.mjs # PostCSS configuration
└── tsconfig.json # TypeScript configuration
Customization
Styling
Customize the design system by editing:
app/globals.css— global styles and Tailwind directivespostcss.config.mjs— PostCSS configuration
Linting and Formatting
Code quality is enforced with Biome (biome.jsonc) and ESLint (eslint.config.mts). ESLint handles Tailwind class
validation and React hooks rules that Biome doesn't support yet.
Deployment
Deploy easily with
Vercel,
the platform from Next.js creators.
See the Next.js deployment documentation for other options.
License
This project is licensed under MIT.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi