🤖 Discourse llms.txt Generator Plugin

Thanks for this plugin, it’s a great addition to Discourse.

Just mentioning here in case anyone else is having the same problem with conflict between this plugin and Discourse’s fairly recent ‘half-feature’ which implements llms.txt but in a completely manual way without doing any of the useful stuff that this plugin does.

The new Discourse feature completely overrides the path /llms.txt even if it is not configured or enabled. I must admit to being a little dumbfounded that this is considered a useful or production-ready feature in Discourse core.

This for me meant that while /llms-full.txt and /sitemaps.txt worked perfectly, the main /llms.txt path didn’t work at all (404).

My workaround is to create a manual llms.txt which I upload manually, which points to /llms-full.txt.

It would be nice if either:

  • The Discourse core feature was upgraded so it does what this plugin does, or
  • The Discourse core feature doesn’t override llms.txt and conflict with this plugin, unless you enable it by uploading an llms.txt.
3 Likes