📄 Metamafia Docs
Metamafia is an AI-powered CLI tool that auto-generates SEO-optimized, production-ready metadata for your Next.js 15 websites. Eliminate boilerplate, save time, and get compliant with best practices instantly.
🔧 Features
- Generate full `metadata` export block (Next.js 15 compatible)
- Auto-create `manifest.json`, `robots.txt`
- SEO-friendly image metadata and social previews
- Zero-config CLI:
npx metamafia-cli
- Works with static & dynamic routes
🚀 CLI Installation & Usage
# Quick install (Recommended) npm i metamafia-cli # OR install globally npm install -g metamafia-cli # Basic Usage npx metamafia-cli [id] # With flags npx metamafia-cli --url=https://yourdomain.com --lang=en # Output files: # - layout.tsx metadata block # - manifest.json # - robots.txt # Optional: --dry-run Preview output without writing files --debug Show internal logging --path=./app Specify path to your Next.js app directory
View full CLI documentation on npmjs.com
📦 Output Example
export const metadata = { title: "My Awesome Site", description: "Boost your SEO with AI-generated metadata.", keywords: ["SEO", "AI", "Next.js"], openGraph: { title: "My Awesome Site", description: "Boost your SEO with AI-generated metadata.", url: "https://mysite.com", siteName: "MySite", images: ["/og.png"], type: "website", }, twitter: { card: "summary_large_image", title: "My Awesome Site", description: "Boost your SEO with AI-generated metadata.", images: ["/og.png"], }, };
📬 Need Help?
Contact us at support@metamafia.dev or join the waitlist to get early access to the SaaS dashboard.