This project is not covered by Drupal’s security advisory policy.

Features

This module automatically populates llms.txt sections from your site's published nodes, organized by content type. It provides a clean, structured index for LLM consumption without manual section management.

  • Automatic section generation: Creates one llms.txt section per content type, listing all published nodes as markdown links.
  • Content type selection: Admin UI to choose which content types to include (all types included by default).
  • Cron integration: Regenerates sections automatically on cron runs to keep content current.
  • Drush commands: drush llms-gen to regenerate sections, drush llms-del to clear all sections.
  • Alphabetical sorting: Content types and nodes within each type are sorted alphabetically.

Post-Installation

After enabling the module, visit:

Administration > Configuration > Search and metadata > LLMs.txt Generator

(/admin/config/search/llms-txt-gen)

Select which content types to include. Sections will be generated automatically on cron runs, or manually using Drush.

Additional Requirements

Similar projects

  • LLMs.txt Generator:
    A separate Drupal module focused on creating and managing a standalone
    llms.txt file with custom content and admin controls
    (similar in name but not the same feature set as this generator that indexes published nodes by content type for LLM consumption).

Supporting this Module

If you find this module useful, consider contributing patches, reporting issues, or helping review feature requests.

Community Documentation

How it works:

The module queries all published nodes (filtered by selected content types), groups them by bundle, and creates an llms_txt_section entity for each group containing markdown-formatted links (e.g., - [Page Title](https://example.com/node/1.md)).

Supporting organizations:

Project information

Releases

1.0.1 released 5 March 2026
Works with Drupal: ^10.3 || ^11
Install:

Development version: 1.0.x-dev updated 12 Mar 2026 at 21:21 UTC