Open source / Next.js / next-herald
next-herald
Typed metadata, XSS-safe JSON-LD, sitemaps with hreflang, OG templates and an SEO CI check for Next.js 16 App Router. Zero deps. Pre-alpha.
Pre-alpha · not yet on npmFlagship · used on this siteGitHub
$ npm install github:MrLouisWright/next-herald # not yet on npm
Used on this site: metadata, JSON-LD @graph, sitemap, OG · Pairs with next-tongue
Flagship · engineering
Problem, decisions, proof.
01 · Problem
App Router SEO packages date from the Pages Router, and native Next.js has no sitemap index, XSS-safe JSON-LD or build-time SEO check. next-herald builds on the native metadata APIs and adds those.
02 · Documentation
03 · Architecture decision records (12)
- ADR 0001Build on native metadata APIs
- ADR 0002Zero dependencies
- ADR 0003Next.js 16 only
- ADR 0004Safe JSON-LD serialisation
- ADR 0005Own schema types
- ADR 0006Cache Components safety
- ADR 0007Sitemap index via route handlers
- ADR 0008Check crawls HTTP
- ADR 0009CLI config and route scan
- ADR 0010Optional next-tongue integration
- ADR 0011OG templates on next/og
- ADR 0012AI crawler policy and AEO stance
README
README could not be loaded. View on GitHub ↗