Replies: 5 comments 9 replies
|
Hi, Justo echo this entry - #80692 (comment) - I understand your request is more in line with the functionality we have for sitemap, robots etc... but just so that people know there's a way to do it yourself. Vercel also has https://vercel.com/docs/llms.txt And since yesterday, so does Next.js https://nextjs.org/docs/llms.txt - I was just about to announce this - |
|
Currently, I am working on a plugin for that. It works like the static metadata export. It's production-ready by end of this week. See https://github.com/bke-daniel/next-llms-txt |
|
Any news here, how is one best to implement llms.text in nextjs today? |
My plugin has production readiness and works well on multiples pages. |
|
I didn't want to wait further so I made a PR implementing the future directly into NextJS, refer to #90580 for details on the PR progress. |
Uh oh!
There was an error while loading. Please reload this page.
Goals
Add
llm.txtsupport for dynamic content in similar fashion of sitemap.xml and robots.txt is implementedNon-Goals
Generate the content for the website based on the site, just stick to a similar format compared to the current similar implementations.
Background
From the proposal format website: https://llmstxt.org/
A few companies already adopting the format:
Proposal
Implement a
llm.(js|ts)file that would live in the app directory in similar way we utilise sitemap or robots.txt.All reactions