Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: /.well-known/llms.txt instead #2

Open
simonw opened this issue Sep 4, 2024 · 5 comments
Open

Suggestion: /.well-known/llms.txt instead #2

simonw opened this issue Sep 4, 2024 · 5 comments

Comments

@simonw
Copy link

simonw commented Sep 4, 2024

These days there's a increasingly adopted alternative to the /robots.txt and /sitemap.xml and /favicon.ico standards - the /.well-known prefix: https://en.wikipedia.org/wiki/Well-known_URI

These have been registered with IANA since ~2010: https://www.iana.org/assignments/well-known-uris/well-known-uris.xhtml

The RFC has the argument for why this is a good idea, which honestly I haven't read in a few years so I'm a bit rusty on: https://datatracker.ietf.org/doc/html/rfc5785

Oh, maybe this is it (quoting the RFC):

When this happens, it is common to designate a "well-known location" for such data, so that it can be easily located. However, this approach has the drawback of risking collisions, both with other such designated "well-known locations" and with pre-existing resources.

To address this, this memo defines a path prefix in HTTP(S) URIs for these "well-known locations", "/.well-known/". Future specifications that need to define a resource for such site-wide metadata can register their use to avoid collisions and minimise impingement upon sites' URI space.

@3052
Copy link

3052 commented Sep 4, 2024

100%. its kind of sad that a group of this size didn't bother doing any research on prior art before throwing this up.

@martinthomson
Copy link

A more complete argument can be found in RFC 8820. The original name of that document was a variation on "get off my lawn", which is a good summary of the general problem here.

@ShaneCurcuru
Copy link

Came here to also ask that this be proposed as well known, per: https://datatracker.ietf.org/doc/html/rfc8615

@janwilmake
Copy link

it's a great idea to use .well-known but it is still not so well known :(

@jeffbryner
Copy link

100% Here's examples of all the other .well-known's in use https://en.m.wikipedia.org/wiki/Well-known_URI#List_of_well-known_URIs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants