About

What cf-seo-ssr does.

After vite build produces the standard dist/ output, two Node scripts run in sequence:

inject-brand.js reads your ssr.config.js and writes the global title, description, Open Graph, Twitter Card, and JSON-LD into dist/index.html.

prerender.js spins up a Vite dev server, loads your AppLayout via ssrLoadModule, renders each route withStaticRouter, injects per-route meta, and writes the HTML files. It also generates sitemap.xml and 404.html.

What it is not

Not a framework. Not edge SSR. Not a competitor to Remix or Astro. Just ~200 lines of readable Node that run at build time.