llms txt exporter
This module automatically generates an `llms.txt` file for your Drupal site, providing Large Language Models with a structured summary of your content. It includes site details and recent content from selected types, with options for customization and keyword inclusion.
LLMs txt Exporter - Drupal Module
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.txtendpoint 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
- Enable the module as usual.
- Go to Configuration > LLMs.txt Exporter Settings (
/admin/config/llms-txt-exporter). - Select the content types to include and set the number of recent items per type.
- Optionally, add custom keywords and additional information.
- Save the configuration.
- Visit
/llms.txton your site to see the generated file.
Additional Requirements
- Drupal 9, 10, or 11
- Metatag module (required for site metadata)
Recommended modules/libraries
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
- Metatag module documentation
- For questions or contributions, use the issue queue.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.