Description
nuxt-llms-txt makes a Nuxt site readable by AI agents. With the module added and no configuration, a build produces a Markdown mirror of every page (/about.md), a sectioned llms.txt index following llmstxt.org, and optionally /llms-full.txt for one-shot ingestion. Routes are discovered during prerendering, so there is no route list to maintain.
Two things distinguish it from existing options:
- It publishes your original Markdown. When a page comes from a Markdown source file, that file is what gets served — MDC components, fence labels and tables survive intact, rather than being flattened by an HTML round-trip. Pages that are not Markdown-backed fall back to HTML conversion automatically, so mixed sites work either way.
- The index is organised. Sections are derived from the route tree, with descriptions taken from
useSeoMeta / og:description / frontmatter. Per-locale indexes are generated automatically when @nuxtjs/i18n is present.
It also serves Markdown from the HTML route via Accept: text/markdown content negotiation, and advertises each mirror with a <link rel="alternate" type="text/markdown"> tag and matching Link: header. The conversion core is published separately as nuxt-llms-txt/core for use outside Nuxt.
Repository
https://github.com/ovion-dev/nuxt-llms-txt
npm
https://www.npmjs.com/package/nuxt-llms-txt
Nuxt Compatibility
Nuxt 4
Suggested metadata
Category: AI (alongside nuxt-llms), type: 3rd-party, website: https://ovion-dev.github.io/nuxt-llms-txt/
Description
nuxt-llms-txtmakes a Nuxt site readable by AI agents. With the module added and no configuration, a build produces a Markdown mirror of every page (/about.md), a sectionedllms.txtindex following llmstxt.org, and optionally/llms-full.txtfor one-shot ingestion. Routes are discovered during prerendering, so there is no route list to maintain.Two things distinguish it from existing options:
useSeoMeta/og:description/ frontmatter. Per-locale indexes are generated automatically when@nuxtjs/i18nis present.It also serves Markdown from the HTML route via
Accept: text/markdowncontent negotiation, and advertises each mirror with a<link rel="alternate" type="text/markdown">tag and matchingLink:header. The conversion core is published separately asnuxt-llms-txt/corefor use outside Nuxt.Repository
https://github.com/ovion-dev/nuxt-llms-txt
npm
https://www.npmjs.com/package/nuxt-llms-txt
Nuxt Compatibility
Nuxt 4
Suggested metadata
Category:
AI(alongsidenuxt-llms), type:3rd-party, website: https://ovion-dev.github.io/nuxt-llms-txt/