Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Kargul Starter

Next.js 16 + React 19 + Tailwind CSS 4 boilerplate. Read CONVENTIONS.md before writing any component, section, or page — it is the whole spec for how this repo is built.

Getting started

npm install
npm run dev

Open http://localhost:3000.

ScriptWhat it does
npm run devStart the dev server
npm run buildProduction build
npm run startServe the production build
npm run lintESLint
npm run to:avifConvert an image to AVIF and report its inline cost — rule 11
npm run extract:avifPull the first frame of every .webm under public/ as a poster
npm run frame:riveRender a still from a .riv file for use as its poster

First things to set on a new project

  1. lib/seo.ts — SITE_NAME, SITE_URL, SITE_DESCRIPTION, SITE_ROUTES. Everything in app/robots.ts, app/sitemap.ts, app/llms.txt/route.ts and every page's metadata derives from these (rule 18). Set NEXT_PUBLIC_SITE_URL in the environment to override the URL per deploy.
  2. app/globals.css — match the @layer base type scale and the --padding-section-* tokens to the design before building anything (rules 1 and 3).
  3. app/opengraph-image.jpg — 1200×630, with an opengraph-image.alt.txt beside it.
  4. Fonts — app/layout.tsx ships Inter + a local Inter Display; swap them for the design's typeface.

Docs

FileWhat's in it
CONVENTIONS.mdThe build rules. Read first.
AGENTS.mdNext.js version notes for agents
OPTIMIZATION.mdWhy Asset's Rive loading is gated behind LCP, with the measurements

关于 About

No description, website, or topics provided.

语言 Languages

TypeScript89.2%
JavaScript6.5%
CSS3.3%
Shell1.0%
HTML0.1%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
19
Total Commits
峰值: 19次/周
Less
More

核心贡献者 Contributors