Generating llms.txt from a CMS in Next.js — and whether it's worth shipping
This story is from 2026-10-13. It is preserved in the archive; the latest stories are on the live feed.
A static llms.txt goes stale the first time someone publishes a page. If the site runs on a CMS, the file should come from the same content as the pages — otherwise you are shipping a map that disagrees with the territory. Here is the whole thing in the Next.js App Router. One route handler, no dep…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-13 09:39 · DEV Community — AI
Generating llms.txt from a CMS in Next.js — and whether it's worth shipping