Skip to content
/ nextjs-15-starter Public template

A multilingual Next.js 15 starter with built-in i18n support. Launch your global-ready web application with a clean, efficient, and SEO-friendly foundation.

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 weijunext@gmail.com

Buy Me A Coffee

ko-fi

About

A multilingual Next.js 15 starter with built-in i18n support. Launch your global-ready web application with a clean, efficient, and SEO-friendly foundation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published