Drupal is a registered trademark of Dries Buytaert

llms_txt_exporter

5 sites No security coverage
View on drupal.org





LLMs txt Exporter - Drupal Module

LLMs txt Exporter

Summary:

Easily generate a dynamic llms.txt file for your Drupal site, providing LLMs (Large Language Models) with a structured summary of your site's content, sections, and key topics.

Features

  • Exposes a /llms.txt endpoint with a plain text summary of your site's content.
  • Automatically includes site name, URL, description (from Metatag or site slogan), and recent content from selected content types.
  • Lets administrators choose which content types to include and how many recent items to display.
  • Supports adding custom keywords and additional information for LLMs.
  • Integrates with the Metatag module for enhanced metadata.
  • Simple configuration via the Drupal admin interface.

Use cases:

  • Help LLMs (like ChatGPT, Bard, etc.) better understand your site's structure and topics.
  • Provide a machine-readable summary for AI tools, SEO, or research purposes.
  • Useful for any Drupal site owner who wants to expose structured, up-to-date site information in a standardized way.

Post-Installation

  1. Enable the module as usual.
  2. Go to Configuration > LLMs.txt Exporter Settings (/admin/config/llms-txt-exporter).
  3. Select the content types to include and set the number of recent items per type.
  4. Optionally, add custom keywords and additional information.
  5. Save the configuration.
  6. Visit /llms.txt on your site to see the generated file.

Additional Requirements

  • Drupal 9, 10, or 11
  • Metatag module (required for site metadata)
  • Metatag (required, enhances metadata)
  • Pathauto (optional, for cleaner URLs in your content)

Supporting this Module

If you find this module useful, please consider supporting its development by reporting issues, submitting patches, or spreading the word on Drupal.org.

Community Documentation


Activity

Total releases
2
First release
Jul 2025
Latest release
7 months ago
Release cadence
4 days
Stability
100% stable

Releases

Version Type Release date
1.0.2 Stable Jul 24, 2025
1.0.1 Stable Jul 20, 2025