https://github.com/weijunext/nextjs-15-starter
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.
https://github.com/weijunext/nextjs-15-starter
app-router i18n multilingual nextjs nextjs-starter nextjs-template nextjs15 shadcn-ui tailwindcss
Last synced: 22 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/weijunext/nextjs-15-starter
- Owner: weijunext
- Created: 2024-01-31T03:30:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T07:14:34.000Z (24 days ago)
- Last Synced: 2025-04-13T02:13:34.994Z (22 days ago)
- Topics: app-router, i18n, multilingual, nextjs, nextjs-starter, nextjs-template, nextjs15, shadcn-ui, tailwindcss
- Language: TypeScript
- Homepage: https://nextforge.dev
- Size: 743 KB
- Stars: 279
- Watchers: 3
- Forks: 51
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - weijunext/nextjs-15-starter - 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. (TypeScript)
README
đ *[English](README.md) â [įŽäŊ䏿](README_zh.md) â [æĨæŦčĒ](README_ja.md)*
# Next Forge - Multilingual Next.js 15 Starter
A feature-rich Next.js 15 multilingual starter template to help you quickly build globally-ready websites.
- [đ Source Code](https://github.com/weijunext/nextjs-15-starter)
- [đ Live Demo](https://nextforge.dev/)## ⨠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:
```bash
git clone https://github.com/weijunext/nextjs-15-starter.git
```2. Install dependencies:
```bash
npm install
# or
yarn
# or
pnpm install
```3. Copy environment variables:
```bash
cp .env.example .env
```4. Start the development server:
```bash
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.txt2. 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:```markdown
---
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
[](https://vercel.com/new/clone?repository-url=https://github.com/weijunext/nextjs-15-starter&project-name=&repository-name=nextjs-15-starter&demo-title=Nextjs15Starter&demo-description=Nextjs%2015%20starter.&demo-url=https://nextforge.dev&demo-image=https://nextforge.dev/og.png)
## đ 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]
- [Github](https://github.com/weijunext)
- [Bento](https://bento.me/weijunext)
- [Twitter/X](https://twitter.com/judewei_dev)[](https://ko-fi.com/G2G6TWWMG)