基于 Next.js 与 React 的精简启动模板,不含多余业务代码
next-start — Next.js 启动器模板
作者 riipandi
riipandi/next-start 是一个精简的 Next.js 启动模板,集成 Tailwind CSS v4 与 TypeScript,可选启用 OpenNext 部署到 Cloudflare Workers。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
样式使用 Tailwind CSS v4,语言使用 TypeScript
可选启用 OpenNext,将项目部署到 Cloudflare Workers
使用 Biome 进行代码格式化与 lint,配置在 biome.json
提供 Vercel 与 Cloudflare 两种部署路径及对应配置说明
模板详细介绍
这是一个 bare-bones 的 Next.js 启动模板,仓库由 riipandi 维护,采用 MIT 许可。技术组合为 Next.js、React、Tailwind CSS v4 与 TypeScript,并可选启用 OpenNext 以部署到 Cloudflare Workers。模板本身不包含业务页面或组件库,定位是提供最基础的工程起点,方便在此基础上自行搭建现代 Web 应用。
开发流程使用常见的 Next.js 脚本:dev 启动热重载,build 生成生产构建,start 运行构建产物,默认在 http://localhost:3000 提供服务。代码格式化与 lint 由 Biome 负责,配置文件为 biome.json,README 建议在编辑器中安装对应插件以获得保存时自动格式化与类型提示。
部署方面提供两条路径:Vercel 与 Cloudflare。使用 Cloudflare 时需在环境变量中设置 NODE_VERSION 为 20.19.1 或更高的 20 版本;预览分支可设置 NEXT_PUBLIC_BASE_URL=${CF_PAGES_URL}。若在 monorepo 中使用 Vercel,需要把 Root Directory 指向应用目录(例如 apps/web/),并配置 Ignored Build Step。
许可方面,代码采用 MIT,允许免费使用、修改、商用和分发,分发时需保留版权声明与许可声明;代码按现状提供。演示图片、字体、图标等第三方素材以及域名、托管、数据库等外部服务不在该许可范围内,需单独核对或付费。
适合你的项目吗?
适用场景
- 需要从零搭建 Next.js 应用时作为工程起点
- 希望使用 Tailwind CSS v4 与 TypeScript 组合的项目
- 计划把 Next.js 应用部署到 Cloudflare Workers 的场景
- 在 monorepo 中放置 Next.js 应用并接入 Vercel 部署
适合人群
- 熟悉 Next.js 与 React 的前端开发者
- 偏好 TypeScript 与 Tailwind CSS 的团队
- 需要轻量模板而非完整业务脚手架的开发者
- 计划使用 Vercel 或 Cloudflare 托管 Next.js 应用的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
可用 pnpm dlx tiged riipandi/next-start myapp-name 或 create-next-app 的 -e 参数拉取模板
- 2
安装依赖后运行 dev 启动热重载,默认地址为 http://localhost:3000
- 3
部署到 Cloudflare 时需设置 NODE_VERSION 为 20.19.1 或更高的 20 版本
- 4
预览分支可设置 NEXT_PUBLIC_BASE_URL=${CF_PAGES_URL}
- 5
monorepo 在 Vercel 上需配置 Root Directory 与 Ignored Build Step
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 部署到 Cloudflare 时必须在环境变量中设置 NODE_VERSION,值为 20.19.1 或更高的 20 版本,否则构建可能失败。
- 在 monorepo 中使用 Vercel 部署时,需额外配置 Root Directory(如 apps/web/)与 Ignored Build Step,否则构建行为不符合预期。
- 部署到 Cloudflare Workers 需额外启用 OpenNext 特性,属于可选的外部托管方案,涉及第三方服务。
- 自行部署需先 fork 仓库并配置托管平台(Vercel 或 Cloudflare),涉及外部服务账号与费用。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
You need to add `NODE_VERSION` with value `20.19.1` or greater than version 20 on the environment variables setting.
README 原文
If you are using monorepo you will need to configure a few things:
README 原文
You can deploy this project to [Cloudflare Workers][cf-workers] as a fast and scalable hosting alternative to [Vercel][vercel] by enabling the [OpenNext][open-next] feature.
README 原文
https://github.com/riipandi/next-start/blob/main/LICENSEhttps://github.com/riipandi/next-start/blob/main/README.mdYou'll want to fork this repository and deploy your own Next.js website.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 92 / 100
- 技术栈
- Next.js · React
- 网站类型
- 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-11-20
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: c9b3f134406b31f46067f62969e3725544ba39fd726518afedb76f01570e979d
2026-10-02T20:48:33.080Z
来源文件 / 仓库# Next.js starter template
<p align="left">
<a href="https://github.com/riipandi/next-start">
<img src="https://img.shields.io/github/languages/top/riipandi/next-start?color=blue" alt="Top language">
</a>
<a href="https://aris.mit-license.org">
<img src="https://img.shields.io/github/license/riipandi/next-start?color=blue" alt="License">
</a>
<a href="https://github.com/riipandi/next-start/pulse">
<img src="https://img.shields.io/badge/Contributions-welcome-brightgreen.svg" alt="Contribution">
</a>
</p>
## Introduction
A minimal Next.js starter with [Tailwind CSS v4][tailwindcss] and [TypeScript][typescript].
You can deploy this project to [Cloudflare Workers][cf-workers] as a fast and scalable hosting
alternative to [Vercel][vercel] by enabling the [OpenNext][open-next] feature. This bare-bones
Next.js template provides a solid foundation for building modern web applications with ease.
## Quick Start
### Installation
**Using `tiged` (recomended):**
```sh
pnpm dlx tiged riipandi/next-start myapp-name
```
**Using `create-next-app` with pnpm:**
```sh
pnpm create next-app@latest myapp-name --use-pnpm -e https://github.com/riipandi/next-start
```
**Using `create-next-app` with npm:**
```sh
npx create-next-app myapp-name --use-npm -e https://github.com/riipandi/next-start
```
> Don't forget to change `myapp-name` with your real application name.
### Up and Running
| Task | NPM | Yarn | PNPM |
|------------------------|-----------------|--------------|----------------|
| Install dependencies | `npm install` | `yarn` | `pnpm install` |
| Serve with hot reload | `npm run dev` | `yarn dev` | `pnpm dev` |
| Build for production | `npm run build` | `yarn build` | `pnpm build` |
| Launch generated build | `npm run start` | `yarn start` | `pnpm start` |
Application will run at `http://localhost:3000`
For detailed explanation on how things work, check out [Next.js docs][nextjs-docs].
- [Next.js app router playground][nextjs-playground] - learn more about Next.js app directory.
- [Dynamic Metadata][nextjs-metadata] - learn more about SEO using dynamic metadata.
## Deploy Your Own
You'll want to fork this repository and deploy your own Next.js website. Once you have an
image generator that sparks joy, you can setup [automatic GitHub](https://vercel.com/github)
deployments so that pushing to master will deploy to production! 🚀
<p align="left" style="margin-top: 20px;">
<a href="https://vercel.com/new/clone?repository-url=https://github.com/riipandi/next-start&project-name=next-start&repo-name=next-start&env=NEXT_PUBLIC_BASE_URL" style="margin-right: 12px;">
<img src="https://vercel.com/button" alt="Deploy with Vercel" height="32px" />
</a>
<a href="https://deploy.workers.cloudflare.com/?url=https://github.com/riipandi/next-start">
<img src="https://deploy.workers.cloudflare.com/button" alt="Deploy to Cloudflare Workers" height="32px" />
</a>
</p>
#### Vercel Configuration (optional)
If you are using monorepo you will need to configure a few things:
- Settings -> General -> Root Directory : `apps/web/` (assuming your app is in `apps/web`)
- Settings -> Git -> Ignored Build Step : `git diff --quiet HEAD^ HEAD ./`
#### Cloudflare Deployment
You need to add `NODE_VERSION` with value `20.19.1` or greater than version 20 on the
environment variables setting. Visit [Cloudflare pages docs][cf-pages] for more information.
For the preview branch:
```env
NEXT_PUBLIC_BASE_URL=${CF_PAGES_URL}
```
## Development
This project uses TypeScript for type checking, [Biome][biome] for code formatting
and linting which is configured in [`biome.json`](./biome.json). It's recommended to get TypeScript
set up for your editor and install an editor plugin (like the [VSCode Biome plugin][biome-vscode])
to get auto-formatting on saving and get a really great in-editor experience with type checking
and auto-complete.
## License
This project is open-sourced software licensed under the [MIT license](./LICENSE).
Copyrights in this project are retained by their contributors.
See the [license file](./LICENSE) for more information.
---
<sub>🤫 Psst! If you like my work you can support me via [GitHub sponsors](https://github.com/sponsors/riipandi).</sub>
<!-- link reference definition -->
[biome]: https://biomejs.dev
[biome-vscode]: https://marketplace.visualstudio.com/items?itemName=biomejs.biome
[cf-pages]: https://developers.cloudflare.com/pages/platform/build-configuration
[cf-workers]: https://workers.cloudflare.com
[nextjs-docs]: https://nextjs.org/docs/getting-started
[nextjs-metadata]: https://nextjs.org/blog/next-13-2#built-in-seo-support-with-new-metadata-api
[nextjs-playground]: https://github.com/vercel/app-playground
[open-next]: https://opennext.js.org/cloudflare
[tailwindcss]: https://tailwindcss.com
[typescript]: https://www.typescriptlang.org
[vercel]: https://vercel.com
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

ai-website-cloner-template
Clone any website with one command using AI coding agents
Next.js · 启动器

Next.js SaaS Starter
Next.js SaaS Starter 是 Next.js 官方维护的 SaaS 起点模板,定位介于学习资源和可直接部署的脚手架之间。
Next.js · SaaS

Next.js Commerce
Next.js Commerce 是 Vercel 团队维护的电商启动模板,基于 Next.js App Router 构建,采用服务端渲染、React Server Components、Server Actions …
Next.js · 电商

Next-js-Boilerplate
Next-js-Boilerplate 是一个面向 Next.js 16、Tailwind CSS 4 和 TypeScript 的启动器,核心定位是开发者体验优先。
Next.js · 启动器

tailwind-nextjs-starter-blog
tailwind-nextjs-starter-blog 是一个面向个人技术博客的 Next.js 与 Tailwind CSS 启动模板,其 v2 版本基于 App Router 与 React Server Comp…
Next.js · 博客

next-forge
Production-grade Turborepo template for Next.js apps.
Next.js · 启动器
