Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module automatically generates a README.md file for any installed Drupal module by extracting information from its code and using an AI service. This saves developers time and effort in creating consistent, professional documentation, especially for custom or contributed modules.

The AI README Generator module allows you to automatically generate a README.md file for any installed contrib or custom Drupal module. It extracts relevant metadata from the module’s codebase and sends it to an AI service to create a structured, professional README file.

Features

One-click README generation using AI.

Integrates with your own AI provider via a configurable form.

Automatically scans the selected module’s .info.yml, PHP classes, hooks, and more.

Supports custom module discovery and simple file creation.

Why and when to use:
If you’re building custom modules or maintaining multiple contrib modules and want consistent, high-quality README documentation without manually writing it, this module saves you time and effort. It’s advantageous during early development, module publishing, or codebase cleanup.

Use cases:

Developers are preparing modules for contribution on Drupal.org.

Teams are documenting internal custom modules.

Anyone wanting fast, AI-assisted documentation with minimal manual effort.

Additional Requirements

A valid API key and AI Provider.

PHP package: innoraft/ai-readme-generator, installed via Composer.

PHP >= 8.1 recommended.

Admin Toolbar (for easier navigation to the configuration forms).

Similar projects

There are no widely known Drupal modules that generate README files using AI. Some tools, like Drupal Code Generator or Module Builder, help scaffold code but do not focus on documentation.

What makes this different:

Focused on documentation, not code scaffolding.

Uses AI to generate content based on real module code.

Designed to be hands-off: one form, one click, one README.

Activity

Total releases
2
First release
Apr 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.0.0 Stable Apr 30, 2025
1.0.x-dev Dev Apr 30, 2025