Skip to content
/ nextjs-15-starter Public template

Clean Next.js Starter is a meticulously designed Next.js starter template aimed at providing developers with a clean, efficient, and scalable foundation for quickly launching.

Notifications You must be signed in to change notification settings

weijunext/nextjs-15-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌍 English简体中文日本語

Next Forge - Multilingual Next.js 15 Starter

A feature-rich Next.js 15 multilingual starter template to help you quickly build globally-ready websites.

✨ Features

  • 🌐 Built-in i18n support (English, Chinese, Japanese)
  • 🎨 Modern UI design with Tailwind CSS
  • 🌙 Dark/Light theme toggle
  • 📱 Responsive layout
  • 📝 MDX blog system
  • 🔍 SEO optimization
  • 📊 Integrated analytics tools
    • Google Analytics
    • Baidu Analytics
    • Google Adsense
    • Vercel Analytics

🚀 Quick Start

  1. Clone the repository:
git clone https://github.com/weijunext/nextjs-15-starter.git
  1. Install dependencies:
npm install
# or
yarn
# or
pnpm install
  1. Copy environment variables:
cp .env.example .env
  1. Start the development server:
npm run dev

Visit http://localhost:3000 to view your application.

⚙️ Configuration

  1. Basic Setup

    • Edit config/site.ts for website information
    • Update icons and logo in public/
    • Configure app/sitemap.ts for sitemap
    • Update app/robots.ts for robots.txt
  2. i18n Setup

    • Add/modify language files in i18n/messages/
    • Configure supported languages in i18n/routing.ts
    • Set up i18n routing in middleware.ts
    • Create pages under app/[locale]/
    • Use the Link component from i18n/routing.ts instead of Next.js default

📝 Content Management

Blog Posts

Create MDX files in blogs/[locale] with the following format:

---
title: Post Title
description: Post Description
image: /image.png
slug: /url-path
tags: tag1,tag2
date: 2025-02-20
visible: published
pin: true
---

Post content...

Reference types/blog.ts for supported fields.

Static Pages

Manage static page content in content/[page]/[locale].mdx.

🔍 SEO Optimization

Built-in comprehensive SEO features:

  • Server-side rendering and static generation
  • Automatic sitemap.xml generation
  • robots.txt configuration
  • Optimized metadata
  • Open Graph support
  • Multilingual SEO support

📊 Analytics

Enable analytics by adding IDs in .env:

NEXT_PUBLIC_GOOGLE_ANALYTICS=
NEXT_PUBLIC_BAIDU_TONGJI=
NEXT_PUBLIC_GOOGLE_ADSENSE=

🛠️ Tech Stack

  • Next.js 15
  • TypeScript
  • Tailwind CSS
  • Shadcn/ui
  • next-intl
  • MDX
  • Zustand
  • Vercel

One-Click Deploy

Deploy with Vercel

📄 License

MIT

🤝 Contributing

Issues and Pull Requests are welcome!

About the Author

Next.js full-stack specialist providing expert services in project development, performance optimization, and SEO improvement.

For consulting and training opportunities, reach out at [email protected]

Buy Me A Coffee

ko-fi

About

Clean Next.js Starter is a meticulously designed Next.js starter template aimed at providing developers with a clean, efficient, and scalable foundation for quickly launching.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published