
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
The fastest way to add SEO to your Next.js project. Automatically generates sitemaps, robots.txt, metadata, and Google Search Console verification.
The fastest way to add SEO to your Next.js project.
AuroraSEO automatically generates sitemaps, robots.txt, metadata, and Google Search Console verification for Next.js applications. No configuration needed, works with both App Router and Pages Router.
# Using npx (recommended)
npx aurora-seo init
# Or install globally
npm install -g aurora-seo
aurora-seo init
cd your-nextjs-project
npx aurora-seo init
npx aurora-seo generate
That's it!
After running aurora-seo generate, you'll have:
your-project/
βββ .seo-config.json # Your SEO configuration
βββ public/
β βββ sitemap.xml # Auto-generated sitemap
β βββ robots.txt # SEO-friendly robots.txt
βββ app/ # (App Router)
βββ layout.tsx # Enhanced with metadata + GSC verification
βββ about/
β βββ layout.tsx # "About | Your Site"
βββ blog/
βββ layout.tsx # "Blog | Your Site"
$ npx aurora-seo init
β
AuroraSEO init running...
β Enter your site URL: https://example.com
β Which SEO features would you like to enable?
β Sitemap
β Robots.txt
β Meta Tags Generator
β Do you want to set up Google Search Console verification? Yes
β Paste your verification content: content="ABC123..."
β
SEO setup initialized! Config saved to .seo-config.json
$ npx aurora-seo generate
[1/4] Reading configuration...
[2/4] Running pre-flight checks...
β
All pre-flight checks passed!
[3/4] Planning generation...
Generation Plan:
Sitemap Generation: β Enabled
Output: ./public/sitemap.xml
Metadata Injection: β Enabled
Target: App/Pages Router layouts
β Continue with generation? Yes
[4/4] Generating SEO assets...
Successfully generated 4 SEO feature(s)!
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<changefreq>weekly</changefreq>
<priority>0.7</priority>
</url>
<url>
<loc>https://example.com/blog</loc>
<changefreq>weekly</changefreq>
<priority>0.7</priority>
</url>
</urlset>
// app/layout.tsx
import type { Metadata } from "next";
export const metadata: Metadata = {
title: {
template: "%s | Your Site",
default: "Your Site",
},
description: "Your site description",
verification: {
google: "your-gsc-verification-token",
},
openGraph: {
title: "Your Site",
description: "Your site description",
url: "https://example.com",
siteName: "Your Site",
images: [
{
url: "https://example.com/og-image.jpg",
},
],
type: "website",
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}
AuroraSEO creates a .seo-config.json file that you can customize:
{
"siteUrl": "https://example.com",
"features": {
"sitemap": true,
"robots": true,
"meta": true
},
"sitemap": {
"changefreq": "weekly",
"priority": 0.7,
"exclude": ["/admin/*", "/api/*"]
},
"robots": {
"userAgent": "*",
"disallow": ["/admin", "/api"]
},
"metadata": {
"title": "Your Site",
"description": "Your site description",
"keywords": ["nextjs", "react", "seo"]
},
"googleSearchConsole": {
"enabled": true,
"method": "meta",
"value": "your-verification-token"
}
}
# Edit .seo-config.json
{
"sitemap": {
"include": ["/custom-page", "/special-route"],
"exclude": ["/admin/*", "/api/*", "/private/*"],
"changefreq": "daily",
"priority": 0.8
}
}
npx aurora-seo generate --force
# During init, choose "HTML file upload" method
β Choose your Google Search Console verification method:
β― Meta tag (recommended)
β HTML file upload
β Enter your HTML filename: google12345abcdef.html
This creates public/google12345abcdef.html ready for upload.
| Command | Description |
|---|---|
aurora-seo init | Initialize SEO configuration for your project |
aurora-seo generate | Generate all SEO assets based on your config |
aurora-seo generate --force | Generate without confirmation prompts |
content="..." valueaurora-seo init and paste the verification detailsaurora-seo generate| Next.js Version | App Router | Pages Router | Metadata API | Status |
|---|---|---|---|---|
| 15.x | β | β | β | Full Support |
| 14.x | β | β | β | Full Support |
| 13.x | β | β | β | Full Support |
| 12.x | β | β | β | Pages Router Only |
| 11.x | β | β | β | Pages Router Only |
We love contributions! Please see our Contributing Guide for details.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Made by Aurora Software Labs
Give us a β if AuroraSEO helped you!
FAQs
The fastest way to add SEO to your Next.js project. Automatically generates sitemaps, robots.txt, metadata, and Google Search Console verification.
The npm package aurora-seo receives a total of 15 weekly downloads. As such, aurora-seo popularity was classified as not popular.
We found that aurora-seo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.